MouseJointDef class

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

Inheritance

Constructors

MouseJointDef()

Properties

bodyA Body
The first attached body.
read / write, inherited
bodyB Body
The second attached body.
read / write, inherited
collideConnected bool
Set this flag to true if the attached bodies should collide.
read / write, inherited
dampingRatio double
The damping ratio. 0 = no damping, 1 = critical damping.
read / write
frequencyHz double
The response speed.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
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).
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
target Vector2
The initial world target point. This is assumed to coincide with the body anchor initially.
final
type JointType
The joint type is set automatically for concrete joint types.
read / write, inherited
userData Object
Use this to attach application specific data to your joints.
read / write, inherited

Methods

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

Operators

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