HughPH.Box2D
Organised dotnet bindings for Box2D 3.1.0
Loading...
Searching...
No Matches
Properties | List of all members
Box2D.WeldJoint Class Referencesealed

A weld joint fully constrains the relative transform between two bodies while allowing for springiness A weld joint constrains the relative rotation and translation between two bodies. Both rotation and translation can have damped springs.
Note: The accuracy of weld joint is limited by the accuracy of the solver. Long chains of weld joints may flex. More...

Inheritance diagram for Box2D.WeldJoint:
Inheritance graph
[legend]
Collaboration diagram for Box2D.WeldJoint:
Collaboration graph
[legend]

Properties

float ReferenceAngle [get, set]
 The reference angle in radians on this weld joint.
 
float LinearHertz [get, set]
 The weld joint linear stiffness in Hertz.
 
float LinearDampingRatio [get, set]
 The weld joint linear damping ratio.
 
float AngularHertz [get, set]
 The weld joint angular stiffness in Hertz.
 
float AngularDampingRatio [get, set]
 The weld joint angular damping ratio.
 
- Properties inherited from Box2D.Joint
bool Valid [get]
 Checks if this joint is valid.
 
JointType Type [get]
 Gets the joint type.
 
Body BodyA [get]
 Gets body A on this joint.
 
Body BodyB [get]
 Gets body B on this joint.
 
World World [get]
 Gets the world that owns this joint.
 
Vec2 LocalAnchorA [get]
 Gets the local anchor on body A.
 
Vec2 LocalAnchorB [get]
 Gets the local anchor on body B.
 
bool CollideConnected [get, set]
 Set this flag to true if the attached bodies should collide.
 
object? UserData [get, set]
 The user data object for this joint.
 
Vec2 ConstraintForce [get]
 Gets the current constraint force for this joint.
 
float ConstraintTorque [get]
 Gets the current constraint torque for this joint.
 

Additional Inherited Members

- Public Member Functions inherited from Box2D.Joint
void Destroy ()
 Destroys this joint.
 
void WakeBodies ()
 Wakes the bodies connected to this joint.
 

Detailed Description

A weld joint fully constrains the relative transform between two bodies while allowing for springiness A weld joint constrains the relative rotation and translation between two bodies. Both rotation and translation can have damped springs.
Note: The accuracy of weld joint is limited by the accuracy of the solver. Long chains of weld joints may flex.


The documentation for this class was generated from the following file: