C# Class BulletCSharp.Body

Inheritance: IDisposable
Show file Open project: sanglin307/BulletUnity3D Class Usage Examples

Protected Properties

Property Type Description
swigCMemOwn bool

Public Methods

Method Description
Body ( ) : System
Body ( Cluster p ) : System
Body ( SWIGTYPE_p_btCollisionObject colObj ) : System
Dispose ( ) : void
activate ( ) : void
angularVelocity ( ) : SWIGTYPE_p_btVector3
angularVelocity ( SWIGTYPE_p_btVector3 rpos ) : SWIGTYPE_p_btVector3
applyAImpulse ( Impulse impulse ) : void
applyDAImpulse ( SWIGTYPE_p_btVector3 impulse ) : void
applyDCImpulse ( SWIGTYPE_p_btVector3 impulse ) : void
applyDImpulse ( SWIGTYPE_p_btVector3 impulse, SWIGTYPE_p_btVector3 rpos ) : void
applyImpulse ( Impulse impulse, SWIGTYPE_p_btVector3 rpos ) : void
applyVAImpulse ( SWIGTYPE_p_btVector3 impulse ) : void
applyVImpulse ( SWIGTYPE_p_btVector3 impulse, SWIGTYPE_p_btVector3 rpos ) : void
invMass ( ) : float
invWorldInertia ( ) : SWIGTYPE_p_btMatrix3x3
linearVelocity ( ) : SWIGTYPE_p_btVector3
velocity ( SWIGTYPE_p_btVector3 rpos ) : SWIGTYPE_p_btVector3
xform ( ) : SWIGTYPE_p_btTransform

Private Methods

Method Description
Body ( IntPtr cPtr, bool cMemoryOwn ) : System
getCPtr ( Body obj ) : HandleRef

Method Details

Body() public method

public Body ( ) : System
return System

Body() public method

public Body ( Cluster p ) : System
p Cluster
return System

Body() public method

public Body ( SWIGTYPE_p_btCollisionObject colObj ) : System
colObj SWIGTYPE_p_btCollisionObject
return System

Dispose() public method

public Dispose ( ) : void
return void

activate() public method

public activate ( ) : void
return void

angularVelocity() public method

public angularVelocity ( ) : SWIGTYPE_p_btVector3
return SWIGTYPE_p_btVector3

angularVelocity() public method

public angularVelocity ( SWIGTYPE_p_btVector3 rpos ) : SWIGTYPE_p_btVector3
rpos SWIGTYPE_p_btVector3
return SWIGTYPE_p_btVector3

applyAImpulse() public method

public applyAImpulse ( Impulse impulse ) : void
impulse Impulse
return void

applyDAImpulse() public method

public applyDAImpulse ( SWIGTYPE_p_btVector3 impulse ) : void
impulse SWIGTYPE_p_btVector3
return void

applyDCImpulse() public method

public applyDCImpulse ( SWIGTYPE_p_btVector3 impulse ) : void
impulse SWIGTYPE_p_btVector3
return void

applyDImpulse() public method

public applyDImpulse ( SWIGTYPE_p_btVector3 impulse, SWIGTYPE_p_btVector3 rpos ) : void
impulse SWIGTYPE_p_btVector3
rpos SWIGTYPE_p_btVector3
return void

applyImpulse() public method

public applyImpulse ( Impulse impulse, SWIGTYPE_p_btVector3 rpos ) : void
impulse Impulse
rpos SWIGTYPE_p_btVector3
return void

applyVAImpulse() public method

public applyVAImpulse ( SWIGTYPE_p_btVector3 impulse ) : void
impulse SWIGTYPE_p_btVector3
return void

applyVImpulse() public method

public applyVImpulse ( SWIGTYPE_p_btVector3 impulse, SWIGTYPE_p_btVector3 rpos ) : void
impulse SWIGTYPE_p_btVector3
rpos SWIGTYPE_p_btVector3
return void

invMass() public method

public invMass ( ) : float
return float

invWorldInertia() public method

public invWorldInertia ( ) : SWIGTYPE_p_btMatrix3x3
return SWIGTYPE_p_btMatrix3x3

linearVelocity() public method

public linearVelocity ( ) : SWIGTYPE_p_btVector3
return SWIGTYPE_p_btVector3

velocity() public method

public velocity ( SWIGTYPE_p_btVector3 rpos ) : SWIGTYPE_p_btVector3
rpos SWIGTYPE_p_btVector3
return SWIGTYPE_p_btVector3

xform() public method

public xform ( ) : SWIGTYPE_p_btTransform
return SWIGTYPE_p_btTransform

Property Details

swigCMemOwn protected property

protected bool swigCMemOwn
return bool