C# Class Universe.Physics.BulletSPlugin.SimMotionState

Inheritance: BulletXNA.DefaultMotionState
Show file Open project: Virtual-Universe/Virtual-Universe

Public Properties

Property Type Description
Rigidbody BulletXNA.BulletDynamics.RigidBody
ZeroVect System.Vector3

Public Methods

Method Description
GetWorldTransform ( BulletXNA.LinearMath.IndexedMatrix &worldTrans ) : void
SetRigidBody ( BulletXNA.BulletDynamics.RigidBody body ) : void
SetWorldTransform ( BulletXNA.LinearMath.IndexedMatrix worldTrans ) : void
SetWorldTransform ( BulletXNA.LinearMath.IndexedMatrix &worldTrans, bool force ) : void
SimMotionState ( BSAPIXNA pWorld, uint id, BulletXNA.LinearMath.IndexedMatrix starTransform, object frameUpdates ) : System

Private Methods

Method Description
AlmostEqual ( Quaternion &v1, Quaternion &v2, float nEpsilon ) : bool
AlmostEqual ( System.Vector3 &v1, System.Vector3 &v2, float nEpsilon ) : bool

Method Details

GetWorldTransform() public method

public GetWorldTransform ( BulletXNA.LinearMath.IndexedMatrix &worldTrans ) : void
worldTrans BulletXNA.LinearMath.IndexedMatrix
return void

SetRigidBody() public method

public SetRigidBody ( BulletXNA.BulletDynamics.RigidBody body ) : void
body BulletXNA.BulletDynamics.RigidBody
return void

SetWorldTransform() public method

public SetWorldTransform ( BulletXNA.LinearMath.IndexedMatrix worldTrans ) : void
worldTrans BulletXNA.LinearMath.IndexedMatrix
return void

SetWorldTransform() public method

public SetWorldTransform ( BulletXNA.LinearMath.IndexedMatrix &worldTrans, bool force ) : void
worldTrans BulletXNA.LinearMath.IndexedMatrix
force bool
return void

SimMotionState() public method

public SimMotionState ( BSAPIXNA pWorld, uint id, BulletXNA.LinearMath.IndexedMatrix starTransform, object frameUpdates ) : System
pWorld BSAPIXNA
id uint
starTransform BulletXNA.LinearMath.IndexedMatrix
frameUpdates object
return System

Property Details

Rigidbody public property

public RigidBody,BulletXNA.BulletDynamics Rigidbody
return BulletXNA.BulletDynamics.RigidBody

ZeroVect public property

public Vector3,System ZeroVect
return System.Vector3