RotationalConstraint class

A rotational constraint for various joints.

Inheritance

Constructors

RotationalConstraint(Joint joint, LimitMotor limitMotor)
A rotational constraint for various joints.

Properties

a1 ↔ Vector3
getter/setter pair
a1x ↔ double?
getter/setter pair
a1y ↔ double?
getter/setter pair
a1z ↔ double?
getter/setter pair
a2 ↔ Vector3
getter/setter pair
a2x ↔ double?
getter/setter pair
a2y ↔ double?
getter/setter pair
a2z ↔ double?
getter/setter pair
addedToIsland ↔ bool
Internal
getter/setter pairinherited
allowCollision ↔ bool
Whether allow collision between connected rigid bodies or not.
getter/setter pairinherited
anchorPoint1 ↔ Vector3
anchor point on the first rigid body in world coordinate system.
getter/setter pairinherited
anchorPoint2 ↔ Vector3
anchor point on the second rigid body in world coordinate system.
getter/setter pairinherited
ax ↔ double?
getter/setter pair
ay ↔ double?
getter/setter pair
az ↔ double?
getter/setter pair
b1 ↔ RigidBody
getter/setter pair
getter/setter pairinherited
b2 ↔ RigidBody
getter/setter pair
getter/setter pairinherited
body1 ↔ RigidBody?
first body of the constraint.
getter/setter pairinherited
body2 ↔ RigidBody?
second body of the constraint.
getter/setter pairinherited
cfm ↔ double?
getter/setter pair
config ↔ JointConfig
getter/setter pairinherited
enableLimit ↔ bool
getter/setter pair
enableMotor ↔ bool
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
i1 ↔ Matrix3
getter/setter pair
i1e00 ↔ double?
getter/setter pair
i1e01 ↔ double?
getter/setter pair
i1e02 ↔ double?
getter/setter pair
i1e10 ↔ double?
getter/setter pair
i1e11 ↔ double?
getter/setter pair
i1e12 ↔ double?
getter/setter pair
i1e20 ↔ double?
getter/setter pair
i1e21 ↔ double?
getter/setter pair
i1e22 ↔ double?
getter/setter pair
i2 ↔ Matrix3
getter/setter pair
i2e00 ↔ double?
getter/setter pair
i2e01 ↔ double?
getter/setter pair
i2e02 ↔ double?
getter/setter pair
i2e10 ↔ double?
getter/setter pair
i2e11 ↔ double?
getter/setter pair
i2e12 ↔ double?
getter/setter pair
i2e20 ↔ double?
getter/setter pair
i2e21 ↔ double?
getter/setter pair
i2e22 ↔ double?
getter/setter pair
id ↔ int?
getter/setter pairinherited
invDenom ↔ double?
getter/setter pair
invMotorDenom ↔ double?
getter/setter pair
invScale ↔ double
getter/setter pairinherited
limitImpulse ↔ double
getter/setter pair
limitMotor ↔ LimitMotor
getter/setter pair
limitState ↔ int
getter/setter pair
limitVelocity ↔ double?
getter/setter pair
localAnchorPoint1 ↔ Vector3
anchor point on the first rigid body in local coordinate system.
getter/setter pairinherited
localAnchorPoint2 ↔ Vector3
anchor point on the second rigid body in local coordinate system.
getter/setter pairinherited
lowerLimit ↔ double?
getter/setter pair
maxMotorForce ↔ double?
getter/setter pair
maxMotorImpulse ↔ double?
getter/setter pair
motorDenom ↔ double?
getter/setter pair
motorImpulse ↔ double
getter/setter pair
motorSpeed ↔ double?
getter/setter pair
name ↔ String
getter/setter pairinherited
next ↔ Joint?
The next joint in the world.
getter/setter pairinherited
parent ↔ World?
parent world of the constraint.
getter/setter pairinherited
prev ↔ Joint?
The previous joint in the world.
getter/setter pairinherited
relativeAnchorPoint1 ↔ Vector3
anchor point on the first rigid body in world coordinate system relative to the body's origin.
getter/setter pairinherited
relativeAnchorPoint2 ↔ Vector3
anchor point on the second rigid body in world coordinate system relative to the body's origin.
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scale ↔ double
getter/setter pairinherited
type ↔ JointType
The type of the joint.
getter/setter pairinherited
upperLimit ↔ double?
getter/setter pair

Methods

attach() → void
Attach the joint from the bodies.
inherited
awake() → void
wake the body
inherited
detach() → void
Detach the joint from the bodies.
inherited
dispose() → void
Dispose of the body
inherited
getPosition() → List<Vector3>
get the scaled position of the joint
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postSolve() → void
Do the post-processing.
inherited
preSolve(double timeStep, double invTimeStep) → void
Prepare for solving the constraint
override
remove() → void
Remove the body
inherited
setId(int i) → void
set the id of the joint
inherited
setParent(World world) → void
Set the parent of the body
inherited
sleep() → void
Run the sleep function
inherited
solve() → void
Solve the constraint. This is usually called iteratively.
override
toString() → String
A string representation of this object.
inherited
updateAnchorPoints() → void
Update all the anchor points.a
inherited

Operators

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