FrictionJointDef<A extends Body, B extends Body> class

Friction joint definition.

Inheritance

Constructors

FrictionJointDef()

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
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 friction force in N.
getter/setter pair
maxTorque double
The maximum friction torque in N-m.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userData Object?
Use this to attach application specific data to your joints.
getter/setter pairinherited

Methods

initialize(A bodyA, B bodyB, Vector2 anchor) → void
Initialize the bodies, anchors, axis, and reference angle using the world anchor and world axis.
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