kintaro
31-05-2006 22:08:04
Hi, I am trying to move an OgreNewt body with setvelocity().
In this case, a key is pressed, like 'w' and inside the framelistener, my program calls setVelocity(Vector(5,0,0)) for example, but nothing happens.
Other command like setPositionOrientation() works very well, but I need to use setVelocity command, so how can I solve this problem?
Thanks for help
In this case, a key is pressed, like 'w' and inside the framelistener, my program calls setVelocity(Vector(5,0,0)) for example, but nothing happens.
Other command like setPositionOrientation() works very well, but I need to use setVelocity command, so how can I solve this problem?
Thanks for help