WeldJointDef<A extends Body, B extends Body> class
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 mass-spring-damper frequency in Hertz. Rotation only. Disable softness
with a value of 0.
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
-
referenceAngle
↔ double
-
The body2 angle minus body1 angle in the reference state (radians).
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, and reference angle using a world anchor
point.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited