Veiter
08-03-2011 21:35:00
Hello all,
i have to move collision-objects from one position to another due to a level-paging implementation.
First, there are Ogre-SceneNodes attached to OgreNewt-Bodies (body->attachNode(node);) and that works.
Now, if i translate the Ogre-SceneNodes, it is okay for graphics, but the old collision model is still active.
The OgreNewt-Object stays at the old position!
I have tried to call "body->setPositionOrientation" and "body->setStandardForceCallback()", but it
doesn't work. Does anyone have an idea how to move collision objects to a desired position?
Kind regards
Veiter
i have to move collision-objects from one position to another due to a level-paging implementation.
First, there are Ogre-SceneNodes attached to OgreNewt-Bodies (body->attachNode(node);) and that works.
Now, if i translate the Ogre-SceneNodes, it is okay for graphics, but the old collision model is still active.
The OgreNewt-Object stays at the old position!
I have tried to call "body->setPositionOrientation" and "body->setStandardForceCallback()", but it
doesn't work. Does anyone have an idea how to move collision objects to a desired position?
Kind regards
Veiter