b2FrictionJoint
b2FrictionJoint
Box2D.Dynamics.JointsInheritance: System.Object → Box2D.Dynamics.Joints.b2Joint
Constructors
b2FrictionJoint(b2FrictionJointDef)
b2FrictionJoint(b2FrictionJointDef)(Box2D.Dynamics.Joints.b2FrictionJointDef def)
Parameters:
def
(Box2D.Dynamics.Joints.b2FrictionJointDef)Fields
m_angularImpulse(System.Single)
m_angularMass(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_linearImpulse(Box2D.Common.b2Vec2)
m_linearMass(Box2D.Common.b2Mat22)
m_localAnchorA(Box2D.Common.b2Vec2)
m_localAnchorB(Box2D.Common.b2Vec2)
m_localCenterA(Box2D.Common.b2Vec2)
m_localCenterB(Box2D.Common.b2Vec2)
m_maxForce(System.Single)
m_maxTorque(System.Single)
m_rA(Box2D.Common.b2Vec2)
m_rB(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
GetMaxForce()
System.Single GetMaxForce()()
Returns:
System.Single
GetMaxTorque()
System.Single GetMaxTorque()()
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
SetMaxForce(float)
SetMaxForce(float)(System.Single force)
Parameters:
force
(System.Single)SetMaxTorque(float)
SetMaxTorque(float)(System.Single torque)
Parameters:
torque
(System.Single)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