MouseJointDef<A extends Body, B extends Body> class

Mouse joint definition. This requires a world target point, tuning parameters, and the time step.

Inheritance

Constructors

MouseJointDef()

Properties

bodyA ↔ A
The first attached body.
getter/setter pairinherited
bodyB ↔ B
The second attached body.
getter/setter pairinherited
collideConnected bool
Set this flag to true if the attached bodies should collide.
getter/setter pairinherited
dampingRatio double
The damping ratio. 0 = no damping, 1 = critical damping.
getter/setter pair
frequencyHz double
The response speed.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
localAnchorA Vector2
The local anchor point relative to body1's origin.
finalinherited
localAnchorB Vector2
The local anchor point relative to body2's origin.
finalinherited
maxForce double
The maximum constraint force that can be exerted to move the candidate body. Usually you will express as some multiple of the weight (multiplier * mass * gravity).
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
target Vector2
The initial world target point. This is assumed to coincide with the body anchor initially.
final
userData Object?
Use this to attach application specific data to your joints.
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited