This sets the position (sets the vel to 0), but it also tries
to make sure that any frozen bodies resting against this one
get activated if necessary. Not very efficient. Be a little
careful about when you call it - it will mess with the physics
collision list. Also, after this call the object will be
active.
Namespace: JigLibX.PhysicsAssembly: JigLibX (in JigLibX.dll) Version: 0.3.1.0
Syntax
C# |
---|
public void MoveTo( Vector3 pos, Matrix orientation ) |
Visual Basic |
---|
Public Sub MoveTo ( _ pos As Vector3, _ orientation As Matrix _ ) |
Visual C++ |
---|
public: void MoveTo( Vector3 pos, Matrix orientation ) |
Parameters
- pos
- Type: Vector3
[Missing <param name="pos"/> documentation for "M:JigLibX.Physics.Body.MoveTo(Microsoft.Xna.Framework.Vector3,Microsoft.Xna.Framework.Matrix)"]
- orientation
- Type: Matrix
[Missing <param name="orientation"/> documentation for "M:JigLibX.Physics.Body.MoveTo(Microsoft.Xna.Framework.Vector3,Microsoft.Xna.Framework.Matrix)"]