Moving Characters

viperman1271

07-02-2008 15:09:54

Hello All <br/>
<br/>
I'm hoping that someone can help with a little predicament that I am having. I need to get my characters moving from with the physics world and have them collide and everything. I can move everyone by setting their position in Ogre and also in Newton, and they all move the way they are supposed to. However, this is clearly not the right way. I have done some investigating and found that you can move with the setVelocity and also by setForce. I have been able to intermittently move the characters. The only time I seem to be able to move them is when I am setting the velocity as everything is created, which is the way that setVelocity is supposed to be used (according to documentation anyways). The rest of the physics is working (gravity pulls objects to the ground and then they either stop or bounce off when hitting the ground). Is there something I'm missing? Thanks in advance for any help