persoontje
04-06-2006 14:12:09
Hey,
I've just started to make some test with ogre with newton for boomwar.
(http://www.sf.net/projects/boomwar It's really easier to use then irrlicht, because the integration of 3d engine and newton are much better then with irrlicht.
So I have now a Ninja model falling on the ground using a custom force callback. But how can I move him? I could check for the keys in my framehandler (i've added a custom one to the list for the character movement), and then when the A key is pressed add a force of y=1 to it. Then the callback should find it and add this, and it should work fine
But not. I think that it is because the callback is only called when newton thinks that there is movement of the object needed. (for example when the model is falling to the ground)
How should I do the movement?
I've just started to make some test with ogre with newton for boomwar.
(http://www.sf.net/projects/boomwar It's really easier to use then irrlicht, because the integration of 3d engine and newton are much better then with irrlicht.
So I have now a Ninja model falling on the ground using a custom force callback. But how can I move him? I could check for the keys in my framehandler (i've added a custom one to the list for the character movement), and then when the A key is pressed add a force of y=1 to it. Then the callback should find it and add this, and it should work fine
But not. I think that it is because the callback is only called when newton thinks that there is movement of the object needed. (for example when the model is falling to the ground)
How should I do the movement?