ConstantVolumeJoint class

Inheritance

Constructors

ConstantVolumeJoint(World argWorld, ConstantVolumeJointDef<Body> def)

Properties

anchorA Vector2
No-op
no setteroverride
anchorB Vector2
No-op
no setteroverride
bodyA Body
getter/setter pairinherited
bodyB Body
getter/setter pairinherited
collideConnected bool
Get collide connected. Note: modifying the collide connect flag won't work correctly because the flag is only checked when fixture AABBs begin to overlap.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isActive bool
Short-cut function to determine if either body is inactive.
no setterinherited
islandFlag bool
getter/setter pairinherited
localAnchorA Vector2
finalinherited
localAnchorB Vector2
finalinherited
renderColor Color3i
Color used to render.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

containsBody(Body body) bool
Whether the body is connected to the joint
inherited
destructor() → void
Override to handle destruction of joint
override
getBodies() List<Body>
getBodyArea() double
getJoints() List<DistanceJoint>
getSolverArea(List<Position> positions) double
inflate(double factor) → void
initVelocityConstraints(SolverData step) → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
otherBody(Body body) Body
Get the other body than the argument in the joint
inherited
reactionForce(double invDt) Vector2
No-op
override
reactionTorque(double invDt) double
No-op
override
render(DebugDraw debugDraw) → void
inherited
solvePositionConstraints(SolverData step) bool
This returns true if the position errors are within tolerance. Internal.
override
solveVelocityConstraints(SolverData step) → void
override
toString() String
A string representation of this object.
inherited

Operators

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