Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark Physics & Dark A.I. & Dark Dynamix / phy delete character controller not working

Author
Message
Southside Games
14
Years of Service
User Offline
Joined: 1st Jan 2010
Location: Don\'t tell me what to do!
Posted: 5th Jun 2010 10:07
yo. in my game I use character controller. I made it so that he can't fit in holes but if if crawls he can. I set it up so that once he starts to crawl it will delete the old one and make a new one in the same spot but smaller Y so that he can fit. but when I call phy delete character controller and then make the new character controller it says it still exists. and I found that after I delete it but don't call the make new one I can still move my guy. AKA, it's not deleting it. any ideas?

thanks.
Matty H
16
Years of Service
User Offline
Joined: 7th Oct 2008
Location: England
Posted: 5th Jun 2010 17:53
Maybe a workaround, re-position it up in the sky somewhere or anywhere safe where it wont interfere with anything.

Southside Games
14
Years of Service
User Offline
Joined: 1st Jan 2010
Location: Don\'t tell me what to do!
Posted: 9th Jun 2010 17:27
I got around it. thanks for your help
bergice
17
Years of Service
User Offline
Joined: 5th Jun 2007
Location: Oslo,Norway
Posted: 11th Jul 2010 07:24
Any way to delete it?

I'm kinda pissed off right now so i wont give so much details, but i'm just trying to delete a controller and it wont work...

9cdfb439c7876e703e307864c9167a15
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 11th Jul 2010 10:24 Edited at: 11th Jul 2010 10:58
@bergice

just tried the command in the character demo that came with physx and it stop it working I cannot move after I have delete it. so I far as I can see the delete works.

add the below code to the demo and see.



edit
your right if you delete it, then added it again, but as a different size, you end up with two object begin seen in the visual debugger, but DBP only shows one.

Dark Physics makes any hot drink go cold.

Login to post a reply

Server time is: 2024-11-24 12:28:45
Your offset time is: 2024-11-24 12:28:45