b2WeldJoint
b2WeldJoint
Box2D.Dynamics.JointsInheritance: System.Object → Box2D.Dynamics.Joints.b2Joint
Constructors
b2WeldJoint(b2WeldJointDef)
b2WeldJoint(b2WeldJointDef)(Box2D.Dynamics.Joints.b2WeldJointDef def)
Parameters:
def
(Box2D.Dynamics.Joints.b2WeldJointDef)Fields
m_bias(System.Single)
m_dampingRatio(System.Single)
m_frequencyHz(System.Single)
m_gamma(System.Single)
m_impulse(Box2D.Common.b2Vec3)
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_localAnchorA(Box2D.Common.b2Vec2)
m_localAnchorB(Box2D.Common.b2Vec2)
m_localCenterA(Box2D.Common.b2Vec2)
m_localCenterB(Box2D.Common.b2Vec2)
m_mass(Box2D.Common.b2Mat33)
m_rA(Box2D.Common.b2Vec2)
m_rB(Box2D.Common.b2Vec2)
m_referenceAngle(System.Single)
Properties
DampingRatio(System.Single)
Frequency(System.Single)
LocalAnchorA(Box2D.Common.b2Vec2)
LocalAnchorB(Box2D.Common.b2Vec2)
ReferenceAngle(System.Single)
Methods
Dump()
Dump()()
Example
GetAnchorA()
Box2D.Common.b2Vec2 GetAnchorA()()
Returns:
Box2D.Common.b2Vec2
Example
GetAnchorB()
Box2D.Common.b2Vec2 GetAnchorB()()
Returns:
Box2D.Common.b2Vec2
Example
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