Gamestudio Links
Zorro Links
Newest Posts
No connection to MT4
by JeyKey II. 10/29/26 09:34
Zorro plugin for Hyperliquid.xyz
by opm. 10/28/26 13:50
Icon "OP"
by JeyKey II. 10/27/26 07:03
ZorroGPT
by TipmyPip. 10/26/26 08:09
Chat Room for Zorro Programmers
by Haitao_Ren. 10/25/26 03:14
Trading Journey
by Haitao_Ren. 10/25/26 03:14
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
2 registered members (TipmyPip, LucasJoshua), 16,963 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Haitao_Ren, JimSimons, julienp, julienper, KelleyAbbey
19247 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