C# Class Universe.Physics.BulletSPlugin.BSConstraintSpring

Inheritance: BSConstraint6Dof
ファイルを表示 Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Public Methods

Method Description
BSConstraintSpring ( BulletWorld world, BulletBody obj1, BulletBody obj2, Vector3 frame1Loc, Quaternion frame1Rot, Vector3 frame2Loc, Quaternion frame2Rot, bool useLinearReferenceFrameA, bool disableCollisionsBetweenLinkedBodies ) : OpenMetaverse
SetAxisEnable ( int pIndex, bool pAxisEnable ) : bool
SetDamping ( int pIndex, float pDamping ) : bool
SetEquilibriumPoint ( Vector3 linearEq, Vector3 angularEq ) : bool
SetEquilibriumPoint ( int pIndex, float pEqPoint ) : bool
SetStiffness ( int pIndex, float pStiffness ) : bool

Method Details

BSConstraintSpring() public method

public BSConstraintSpring ( BulletWorld world, BulletBody obj1, BulletBody obj2, Vector3 frame1Loc, Quaternion frame1Rot, Vector3 frame2Loc, Quaternion frame2Rot, bool useLinearReferenceFrameA, bool disableCollisionsBetweenLinkedBodies ) : OpenMetaverse
world BulletWorld
obj1 BulletBody
obj2 BulletBody
frame1Loc Vector3
frame1Rot Quaternion
frame2Loc Vector3
frame2Rot Quaternion
useLinearReferenceFrameA bool
disableCollisionsBetweenLinkedBodies bool
return OpenMetaverse

SetAxisEnable() public method

public SetAxisEnable ( int pIndex, bool pAxisEnable ) : bool
pIndex int
pAxisEnable bool
return bool

SetDamping() public method

public SetDamping ( int pIndex, float pDamping ) : bool
pIndex int
pDamping float
return bool

SetEquilibriumPoint() public method

public SetEquilibriumPoint ( Vector3 linearEq, Vector3 angularEq ) : bool
linearEq Vector3
angularEq Vector3
return bool

SetEquilibriumPoint() public method

public SetEquilibriumPoint ( int pIndex, float pEqPoint ) : bool
pIndex int
pEqPoint float
return bool

SetStiffness() public method

public SetStiffness ( int pIndex, float pStiffness ) : bool
pIndex int
pStiffness float
return bool