Gamestudio Links
Zorro Links
Newest Posts
How to select between IB accounts by script?
by AndrewAMD. 06/13/26 15:44
Zorro tutorial ideas?
by AndrewAMD. 06/13/26 15:01
Zorro 3.01 recoded MMI function issue
by 11honza11. 06/13/26 11:40
Max Number of Strategies in /Strategy folder
by Martin_HH. 06/12/26 08:50
Stooq now requires an API key
by AndrewAMD. 06/11/26 17:55
Z9 getting Error 058
by k_ivan. 06/10/26 14:38
ZorroGPT
by TipmyPip. 06/10/26 13:07
Z12 live performance
by alx. 06/09/26 20:42
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (Grant, Quad, VHX), 1,886 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Student_64151, Koti, curry, DeepxKalsi, Samed
19219 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
is it possible to alter physx object hull size (PH_CHAR) #362804
03/09/11 18:12
03/09/11 18:12
Joined: Jan 2002
Posts: 300
Usa
Rich Offline OP
Senior Member
Rich  Offline OP
Senior Member

Joined: Jan 2002
Posts: 300
Usa
Hi,

I'm experimenting with the PhysX functions for the first time. I am using the character controller
pXent_movechar
with
pXent_settype(me,PH_CHAR,PH_CAPSULE) and also tried PH_BOX & PH_RIGID.

It seems that the "collision hull" is 1.5 to 2 times bigger than the entity (even when I used "CUBE_MDL" as a test).

Is there a similar equivalent to min_x,y,z, max_x,y,y in the Physx system?

I've had a look in the manual, but I must be missing something. Tried a search, but maybe I'm looking for the incorrect term. Thanks for reading laugh.


A8 com / A7 free
Re: is it possible to alter physx object hull size (PH_CHAR) [Re: Rich] #362806
03/09/11 18:15
03/09/11 18:15
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Scale the entity in any direction, f.i. vec_fill(ent.scale_x,0.5); or scale_x = 1; and scale_z = 0.5;. Register the entity and reset its scale afterwards.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: is it possible to alter physx object hull size (PH_CHAR) [Re: Superku] #362920
03/10/11 02:08
03/10/11 02:08
Joined: Jan 2002
Posts: 300
Usa
Rich Offline OP
Senior Member
Rich  Offline OP
Senior Member

Joined: Jan 2002
Posts: 300
Usa
Thanks laugh I had tried that but I was hoping there was a more precise method. I guess this will have to do wink. Thanks again.

Last edited by Rich; 03/10/11 02:08.

A8 com / A7 free

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1