Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (alibaba, vicknick), 1,379 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 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 | chip programmers | 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