Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 552 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
PhysX character controller? #464081
01/20/17 12:34
01/20/17 12:34
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline OP
Expert
Kartoffel  Offline OP
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Has anyone here managed to create a first person character controller using physx?

I've been using c_move/c_trace for a while now but wasn't able to get a solid movement code, yet.
Mostly because of the weird ellipsoid collision-behaviour that comes with c_move and c_trace.
So I tried physx which should offer a collision system that is much more stable and versatile.
(and supports capsule collisions... finally)

Well, turns out that the character movment in this physx implementation is pretty wanky aswell.
Sliding along walls and wall-collisions don't always work as they should. Corners or slopes are even worse.

Soo.. have you got any tips that could help me?


POTATO-MAN saves the day! - Random
Re: PhysX character controller? [Re: Kartoffel] #464085
01/20/17 13:02
01/20/17 13:02
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Believe me... I've struggled a lot from pXent plugin as well as from OBB ellipsoid hull. None of them is suitable to get fully working, solid movement out of the box. CCT has a lot of problems (even capsule shape) and limitations (unregistered and registering it back each time when you crawl/change position directly, also the lower half sphere shape of the capsule get's stuck while jumping and walking towards the low walls, box shape just get's simply stuck on every edge). OBB uses that ellipsoid thing, which requires some workarounds to get more or less good results. There is only one way out of this, making your own physX plugin, and not with 2.x SDK as the one that Acknex uses right now, but newer one, 3.x SKD! 3dgs_snake made a plugin, it had some bugs so he decided to make a new one from scratch with all things he has learnt from previous experience, but unfortunately it's development was held.

I could help you out with making movement code for your needs (as I have a lot of experience with it), but I would like to ask you for some shader help as well tongue Let's call it barter!

Best regards!


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: PhysX character controller? [Re: 3run] #464103
01/22/17 15:55
01/22/17 15:55
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
yeah physx is limited in 3dgs, so I used OBB. it was also buggy, but with some c-traces done before movement, I had a good enough result, what you can find it in MapBuilder (used for testing the map with that soldier character). it is not a complex one, e.g. no doors, no climbing, but works, and imo can be easily extended, in my RTS I used something similar for the unit-unit push-bounce collision handling.


Free world editor for 3D Gamestudio: MapBuilder Editor

Moderated by  HeelX, Spirit 

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