RopeJointDef<A extends Body, B extends Body> class
Rope joint definition. This requires two body anchor points and a maximum lengths.
Note: by default the connected objects will not collide. see JointDef.collideConnected.
Constructors
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
- maxLength ↔ double
-
The maximum length of the rope. Warning: this must be larger than
linearSlop or the joint will have no effect.
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
-
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