Translational3Constraint class
- Inheritance
-
- Object
- Core
- Constraint
- Joint
- Translational3Constraint
Constructors
- Translational3Constraint(Joint joint, LimitMotor limitMotor1, LimitMotor limitMotor2, LimitMotor limitMotor3)
- A three-axis translational constraint for various joints.
Properties
- a1 ↔ Vec3
-
getter/setter pair
- a1x1 ↔ double?
-
getter/setter pair
- a1x2 ↔ double?
-
getter/setter pair
- a1x3 ↔ double?
-
getter/setter pair
- a1y1 ↔ double?
-
getter/setter pair
- a1y2 ↔ double?
-
getter/setter pair
- a1y3 ↔ double?
-
getter/setter pair
- a1z1 ↔ double?
-
getter/setter pair
- a1z2 ↔ double?
-
getter/setter pair
- a1z3 ↔ double?
-
getter/setter pair
- a2 ↔ Vec3
-
getter/setter pair
- a2x1 ↔ double?
-
getter/setter pair
- a2x2 ↔ double?
-
getter/setter pair
- a2x3 ↔ double?
-
getter/setter pair
- a2y1 ↔ double?
-
getter/setter pair
- a2y2 ↔ double?
-
getter/setter pair
- a2y3 ↔ double?
-
getter/setter pair
- a2z1 ↔ double?
-
getter/setter pair
- a2z2 ↔ double?
-
getter/setter pair
- a2z3 ↔ 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 ↔ Vec3
-
anchor point on the first rigid body in world coordinate system.
getter/setter pairinherited
- anchorPoint2 ↔ Vec3
-
anchor point on the second rigid body in world coordinate system.
getter/setter pairinherited
- ax1 ↔ double?
-
getter/setter pair
- ax2 ↔ double?
-
getter/setter pair
- ax3 ↔ double?
-
getter/setter pair
- ay1 ↔ double?
-
getter/setter pair
- ay2 ↔ double?
-
getter/setter pair
- ay3 ↔ double?
-
getter/setter pair
- az1 ↔ double?
-
getter/setter pair
- az2 ↔ double?
-
getter/setter pair
- az3 ↔ double?
-
getter/setter pair
- b1 ↔ RigidBody
-
getter/setter pair
- b1Link ↔ JointLink
-
getter/setter pairinherited
- b2 ↔ RigidBody
-
getter/setter pair
- b2Link ↔ JointLink
-
getter/setter pairinherited
- body1 ↔ RigidBody?
-
first body of the constraint.
getter/setter pairinherited
- body2 ↔ RigidBody?
-
second body of the constraint.
getter/setter pairinherited
- cfm1 ↔ double
-
getter/setter pair
- cfm2 ↔ double
-
getter/setter pair
- cfm3 ↔ double
-
getter/setter pair
- config ↔ JointConfig
-
getter/setter pairinherited
- d00 ↔ double?
-
getter/setter pair
- d01 ↔ double?
-
getter/setter pair
- d02 ↔ double?
-
getter/setter pair
- d10 ↔ double?
-
getter/setter pair
- d11 ↔ double?
-
getter/setter pair
- d12 ↔ double?
-
getter/setter pair
- d20 ↔ double?
-
getter/setter pair
- d21 ↔ double?
-
getter/setter pair
- d22 ↔ double?
-
getter/setter pair
- dv00 ↔ double?
-
getter/setter pair
- dv11 ↔ double?
-
getter/setter pair
- dv22 ↔ double?
-
getter/setter pair
- enableMotor1 ↔ bool
-
getter/setter pair
- enableMotor2 ↔ bool
-
getter/setter pair
- enableMotor3 ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- i1 ↔ Mat33
-
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 ↔ Mat33
-
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
- invScale ↔ double
-
getter/setter pairinherited
- k00 ↔ double?
-
getter/setter pair
- k01 ↔ double?
-
getter/setter pair
- k02 ↔ double?
-
getter/setter pair
- k10 ↔ double?
-
getter/setter pair
- k11 ↔ double?
-
getter/setter pair
- k12 ↔ double?
-
getter/setter pair
- k20 ↔ double?
-
getter/setter pair
- k21 ↔ double?
-
getter/setter pair
- k22 ↔ double?
-
getter/setter pair
- kv00 ↔ double?
-
getter/setter pair
- kv11 ↔ double?
-
getter/setter pair
- kv22 ↔ double?
-
getter/setter pair
- l1 ↔ Vec3
-
getter/setter pair
- l1x1 ↔ double?
-
getter/setter pair
- l1x2 ↔ double?
-
getter/setter pair
- l1x3 ↔ double?
-
getter/setter pair
- l1y1 ↔ double?
-
getter/setter pair
- l1y2 ↔ double?
-
getter/setter pair
- l1y3 ↔ double?
-
getter/setter pair
- l1z1 ↔ double?
-
getter/setter pair
- l1z2 ↔ double?
-
getter/setter pair
- l1z3 ↔ double?
-
getter/setter pair
- l2 ↔ Vec3
-
getter/setter pair
- l2x1 ↔ double?
-
getter/setter pair
- l2x2 ↔ double?
-
getter/setter pair
- l2x3 ↔ double?
-
getter/setter pair
- l2y1 ↔ double?
-
getter/setter pair
- l2y2 ↔ double?
-
getter/setter pair
- l2y3 ↔ double?
-
getter/setter pair
- l2z1 ↔ double?
-
getter/setter pair
- l2z2 ↔ double?
-
getter/setter pair
- l2z3 ↔ double?
-
getter/setter pair
- limitImpulse1 ↔ double
-
getter/setter pair
- limitImpulse2 ↔ double
-
getter/setter pair
- limitImpulse3 ↔ double
-
getter/setter pair
- limitMotor1 ↔ LimitMotor
-
getter/setter pair
- limitMotor2 ↔ LimitMotor
-
getter/setter pair
- limitMotor3 ↔ LimitMotor
-
getter/setter pair
- limitState1 ↔ int
-
getter/setter pair
- limitState2 ↔ int
-
getter/setter pair
- limitState3 ↔ int
-
getter/setter pair
- limitVelocity1 ↔ double?
-
getter/setter pair
- limitVelocity2 ↔ double?
-
getter/setter pair
- limitVelocity3 ↔ double?
-
getter/setter pair
- localAnchorPoint1 ↔ Vec3
-
anchor point on the first rigid body in local coordinate system.
getter/setter pairinherited
- localAnchorPoint2 ↔ Vec3
-
anchor point on the second rigid body in local coordinate system.
getter/setter pairinherited
- lowerLimit1 ↔ double?
-
getter/setter pair
- lowerLimit2 ↔ double?
-
getter/setter pair
- lowerLimit3 ↔ double?
-
getter/setter pair
- m1 ↔ double?
-
getter/setter pair
- m2 ↔ double?
-
getter/setter pair
- maxMotorForce1 ↔ double?
-
getter/setter pair
- maxMotorForce2 ↔ double?
-
getter/setter pair
- maxMotorForce3 ↔ double?
-
getter/setter pair
- maxMotorImpulse1 ↔ double?
-
getter/setter pair
- maxMotorImpulse2 ↔ double?
-
getter/setter pair
- maxMotorImpulse3 ↔ double?
-
getter/setter pair
- motorImpulse1 ↔ double
-
getter/setter pair
- motorImpulse2 ↔ double
-
getter/setter pair
- motorImpulse3 ↔ double
-
getter/setter pair
- motorSpeed1 ↔ double?
-
getter/setter pair
- motorSpeed2 ↔ double?
-
getter/setter pair
- motorSpeed3 ↔ double?
-
getter/setter pair
- name ↔ String
-
getter/setter pairinherited
- next ↔ Joint?
-
The next joint in the world.
getter/setter pairinherited
- p1 ↔ Vec3
-
getter/setter pair
- p2 ↔ Vec3
-
getter/setter pair
- parent ↔ World?
-
parent world of the constraint.
getter/setter pairinherited
- prev ↔ Joint?
-
The previous joint in the world.
getter/setter pairinherited
- r1 ↔ Vec3
-
getter/setter pair
- r1x ↔ double?
-
getter/setter pair
- r1y ↔ double?
-
getter/setter pair
- r1z ↔ double?
-
getter/setter pair
- r2 ↔ Vec3
-
getter/setter pair
- r2x ↔ double?
-
getter/setter pair
- r2y ↔ double?
-
getter/setter pair
- r2z ↔ double?
-
getter/setter pair
- relativeAnchorPoint1 ↔ Vec3
-
anchor point on the first rigid body in world coordinate system relative to the body's origin.
getter/setter pairinherited
- relativeAnchorPoint2 ↔ Vec3
-
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
- t1x1 ↔ double?
-
getter/setter pair
- t1x2 ↔ double?
-
getter/setter pair
- t1x3 ↔ double?
-
getter/setter pair
- t1y1 ↔ double?
-
getter/setter pair
- t1y2 ↔ double?
-
getter/setter pair
- t1y3 ↔ double?
-
getter/setter pair
- t1z1 ↔ double?
-
getter/setter pair
- t1z2 ↔ double?
-
getter/setter pair
- t1z3 ↔ double?
-
getter/setter pair
- t2x1 ↔ double?
-
getter/setter pair
- t2x2 ↔ double?
-
getter/setter pair
- t2x3 ↔ double?
-
getter/setter pair
- t2y1 ↔ double?
-
getter/setter pair
- t2y2 ↔ double?
-
getter/setter pair
- t2y3 ↔ double?
-
getter/setter pair
- t2z1 ↔ double?
-
getter/setter pair
- t2z2 ↔ double?
-
getter/setter pair
- t2z3 ↔ double?
-
getter/setter pair
- type ↔ JointType
-
The type of the joint.
getter/setter pairinherited
- upperLimit1 ↔ double?
-
getter/setter pair
- upperLimit2 ↔ double?
-
getter/setter pair
- upperLimit3 ↔ double?
-
getter/setter pair
- weight ↔ 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< Vec3> -
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