WeldJointDef class

Inheritance

Constructors

WeldJointDef()

Properties

dampingRatio double
The damping ratio. 0 = no damping, 1 = critical damping.
read / write
frequencyHz double
The mass-spring-damper frequency in Hertz. Rotation only. Disable softness with a value of 0.
read / write
localAnchorA Vector2
The local anchor point relative to body1's origin.
final
localAnchorB Vector2
The local anchor point relative to body2's origin.
final
referenceAngle double
The body2 angle minus body1 angle in the reference state (radians).
read / write
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
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
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

initialize(Body bA, Body bB, Vector2 anchor) → void
Initialize the bodies, anchors, and reference angle using a world anchor point. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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