HughPH.Box2D
Organised dotnet bindings for Box2D 3.1.0
All Classes Namespaces Functions Variables Enumerations Enumerator Properties Pages
Properties | List of all members
Box2D.MouseJoint Class Referencesealed

The mouse joint is designed for use in the samples application, but you may find it useful in applications where the user moves a rigid body with a cursor. More...

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

Properties

Vec2 Target [get, set]
 The target point on this mouse joint.
 
float SpringHertz [get, set]
 The spring frequency on this mouse joint.
 
float SpringDampingRatio [get, set]
 The spring damping ratio on this mouse joint.
 
float MaxForce [get, set]
 The maximum force on this mouse joint.
 
- 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

The mouse joint is designed for use in the samples application, but you may find it useful in applications where the user moves a rigid body with a cursor.


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