Skip to main content

b2PulleyJoint

b2PulleyJoint

Box2D.Dynamics.Joints

Inheritance: 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.b2Vec2
Example

GetAnchorB()

Box2D.Common.b2Vec2 GetAnchorB()()
Returns:
Box2D.Common.b2Vec2
Example

GetGroundAnchorA()

Box2D.Common.b2Vec2 GetGroundAnchorA()()
Returns:
Box2D.Common.b2Vec2

GetGroundAnchorB()

Box2D.Common.b2Vec2 GetGroundAnchorB()()
Returns:
Box2D.Common.b2Vec2

GetLengthA()

System.Single GetLengthA()()
Returns:
System.Single

GetLengthB()

System.Single GetLengthB()()
Returns:
System.Single

GetRatio()

System.Single GetRatio()()
Returns:
System.Single

GetReactionForce(float)

Box2D.Common.b2Vec2 GetReactionForce(float)(System.Single inv_dt)
Parameters:
inv_dt (System.Single)
Returns:
Box2D.Common.b2Vec2

GetReactionTorque(float)

System.Single GetReactionTorque(float)(System.Single inv_dt)
Parameters:
inv_dt (System.Single)
Returns:
System.Single

InitVelocityConstraints(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.Boolean
Example

SolveVelocityConstraints(b2SolverData)

SolveVelocityConstraints(b2SolverData)(Box2D.Dynamics.b2SolverData data)
Parameters:
data (Box2D.Dynamics.b2SolverData)
Example