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 / Character controller only going one way??

Author
Message
CocaCola
14
Years of Service
User Offline
Joined: 23rd Mar 2010
Location: CocaCola.x CocaCola.y CocaCola.z
Posted: 28th May 2011 04:22


I'm trying to make it so left and right arrow keys rotate my player, up makes him go forward the way it's facing, and back to go backwards the way it's facing.

Right no matter how rotated I am, or if I press up or down my player only goes one way. What's wrong with this? I was told that to move a CC you need to rotate it then set it's speed to move. Apparently that's not so, or I'm not doing it right

Always program as if the person maintaining your program is a psychopath that knows where you live
HowDo
21
Years of Service
User Offline
Joined: 28th Nov 2002
Location: United Kingdom
Posted: 30th May 2011 12:08
try using the physx rotate command as you cannot move it with DBPro command set.

eg

rotate object 1,0,0,rotation

to

phy set rigid body rotation 1,0,0,rotation

Dark Physics makes any hot drink go cold.

Login to post a reply

Server time is: 2024-11-24 13:37:02
Your offset time is: 2024-11-24 13:37:02