Moving an object in space?

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
emmo30
Posts: 9
Joined: Sat Dec 10, 2011 3:51 pm

Moving an object in space?

Post by emmo30 »

Hi, how I to move an entity in space, after having implemented the space?
thanks for your help.
Norbo
Site Admin
Posts: 4929
Joined: Tue Jul 04, 2006 4:45 am

Re: Moving an object in space?

Post by Norbo »

You can move entities by setting their Position, Orientation, LinearVelocity, and AngularVelocity. There are other properties too which do the same things in different forms, like the WorldTransform and momentum properties.

If you want to maintain proper collision response, using velocities or impulses is the correct way to move objects. The setting of positions and orientations directly is a discontinuous teleportation.

For more information I'd recommend taking a look at the Getting Started Documentation and the samples in the BEPUphysicsDemos in the main source download.
Post Reply