Moving body with Newton
Posted: Tue May 23, 2006 4:40 pm
Hello,
I don´t know if this is the right place to ask for this help, but anyway...
I´m using Newton engine with Irrlicht.
I have a question about the movement of the player.
When I click the button to move forward, for example, what is the right way to move:
1. Apply a force on newton body and then update the mesh position or
2. Move the mesh and then update the newton´s body
?
I tried the 1 and it works, but the movement is strange. Then I tried the 2, but then newton crashed on collisions.
So, what´s trhe right way?
Thanks!
I don´t know if this is the right place to ask for this help, but anyway...
I´m using Newton engine with Irrlicht.
I have a question about the movement of the player.
When I click the button to move forward, for example, what is the right way to move:
1. Apply a force on newton body and then update the mesh position or
2. Move the mesh and then update the newton´s body
?
I tried the 1 and it works, but the movement is strange. Then I tried the 2, but then newton crashed on collisions.
So, what´s trhe right way?
Thanks!