b2PulleyJoint
b2PulleyJoint
Box2D.Dynamics.JointsInheritance: System.Object → Box2D.Dynamics.Joints.b2Joint
Constructors
b2PulleyJoint(b2PulleyJointDef)
b2PulleyJoint(b2PulleyJointDef)(Box2D.Dynamics.Joints.b2PulleyJointDef def)Parameters:
def (Box2D.Dynamics.Joints.b2PulleyJointDef)Fields
m_constant(System.Single)
m_groundAnchorA(Box2D.Common.b2Vec2)
m_groundAnchorB(Box2D.Common.b2Vec2)
m_impulse(System.Single)
m_indexA(System.Int32)
m_indexB(System.Int32)
m_invIA(System.Single)
m_invIB(System.Single)
m_invMassA(System.Single)
m_invMassB(System.Single)
m_lengthA(System.Single)
m_lengthB(System.Single)
m_localAnchorA(Box2D.Common.b2Vec2)
m_localAnchorB(Box2D.Common.b2Vec2)
m_localCenterA(Box2D.Common.b2Vec2)
m_localCenterB(Box2D.Common.b2Vec2)
m_mass(System.Single)
m_rA(Box2D.Common.b2Vec2)
m_rB(Box2D.Common.b2Vec2)
m_ratio(System.Single)
m_uA(Box2D.Common.b2Vec2)
m_uB(Box2D.Common.b2Vec2)
Methods
Dump()
Dump()()Example
GetAnchorA()
Box2D.Common.b2Vec2 GetAnchorA()()Returns:
Box2D.Common.b2Vec2Example
GetAnchorB()
Box2D.Common.b2Vec2 GetAnchorB()()Returns:
Box2D.Common.b2Vec2Example
GetGroundAnchorA()
Box2D.Common.b2Vec2 GetGroundAnchorA()()Returns:
Box2D.Common.b2Vec2GetGroundAnchorB()
Box2D.Common.b2Vec2 GetGroundAnchorB()()Returns:
Box2D.Common.b2Vec2GetLengthA()
System.Single GetLengthA()()Returns:
System.SingleGetLengthB()
System.Single GetLengthB()()Returns:
System.SingleGetRatio()
System.Single GetRatio()()Returns:
System.SingleGetReactionForce(float)
Box2D.Common.b2Vec2 GetReactionForce(float)(System.Single inv_dt)Parameters:
inv_dt (System.Single)Returns:
Box2D.Common.b2Vec2GetReactionTorque(float)
System.Single GetReactionTorque(float)(System.Single inv_dt)Parameters:
inv_dt (System.Single)Returns:
System.SingleInitVelocityConstraints(b2SolverData)
InitVelocityConstraints(b2SolverData)(Box2D.Dynamics.b2SolverData data)Parameters:
data (Box2D.Dynamics.b2SolverData)Example
SolvePositionConstraints(b2SolverData)
System.Boolean SolvePositionConstraints(b2SolverData)(Box2D.Dynamics.b2SolverData data)Parameters:
data (Box2D.Dynamics.b2SolverData)Returns:
System.BooleanExample
SolveVelocityConstraints(b2SolverData)
SolveVelocityConstraints(b2SolverData)(Box2D.Dynamics.b2SolverData data)Parameters:
data (Box2D.Dynamics.b2SolverData)Example