Moving Entities
Posted: Sun Sep 25, 2011 7:28 pm
Hi!
I'm working on a game development framework using XNA 4.0 and BEPU physics. My framework supports complex objects based on the entity base class. I'm trying to implement methods like "MoveTo" and "RotateTo" to these objects, where I can define an absolute position and orientation. Now my question is, what's the best way to move an entity? I'm familiar with the "MotorizedGrabSpring" and the "EntityMover", but they have the disadvantage that they don't release the object after it has reached it's position/orientation and I haven't found a "useful" condition yet to release the object manually.
Thanks.
I'm working on a game development framework using XNA 4.0 and BEPU physics. My framework supports complex objects based on the entity base class. I'm trying to implement methods like "MoveTo" and "RotateTo" to these objects, where I can define an absolute position and orientation. Now my question is, what's the best way to move an entity? I'm familiar with the "MotorizedGrabSpring" and the "EntityMover", but they have the disadvantage that they don't release the object after it has reached it's position/orientation and I haven't found a "useful" condition yet to release the object manually.
Thanks.