b2RopeJoint
b2RopeJoint
Box2D.Dynamics.JointsInheritance: System.Object → Box2D.Dynamics.Joints.b2Joint
Constructors
b2RopeJoint(b2RopeJointDef)
b2RopeJoint(b2RopeJointDef)(Box2D.Dynamics.Joints.b2RopeJointDef def)Parameters:
def (Box2D.Dynamics.Joints.b2RopeJointDef)Fields
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_length(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_maxLength(System.Single)
m_rA(Box2D.Common.b2Vec2)
m_rB(Box2D.Common.b2Vec2)
m_state(Box2D.Dynamics.Joints.b2LimitState)
m_u(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
GetLimitState()
Box2D.Dynamics.Joints.b2LimitState GetLimitState()()Returns:
Box2D.Dynamics.Joints.b2LimitStateGetLocalAnchorA()
Box2D.Common.b2Vec2 GetLocalAnchorA()()Returns:
Box2D.Common.b2Vec2Example
GetLocalAnchorB()
Box2D.Common.b2Vec2 GetLocalAnchorB()()Returns:
Box2D.Common.b2Vec2Example
GetMaxLength()
System.Single GetMaxLength()()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
SetMaxLength(float)
SetMaxLength(float)(System.Single length)Parameters:
length (System.Single)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