WheelJoint class
A wheel joint allows for relative rotation between two rigid bodies along two axes. The wheel joint also allows for relative translation for the suspension.
- Inheritance
-
- Object
- Core
- Constraint
- Joint
- WheelJoint
Constructors
- WheelJoint(JointConfig config)
Properties
- addedToIsland ↔ bool
-
Internal
getter/setter pairinherited
- allowCollision ↔ bool
-
Whether allow collision between connected rigid bodies or not.
getter/setter pairinherited
- an1 ↔ Vec3
-
getter/setter pair
- an2 ↔ Vec3
-
getter/setter pair
- 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 ↔ Vec3
-
getter/setter pair
- ax2 ↔ Vec3
-
getter/setter pair
- b1Link ↔ JointLink
-
getter/setter pairinherited
- b2Link ↔ JointLink
-
getter/setter pairinherited
- bin ↔ Vec3
-
getter/setter pair
- body1 ↔ RigidBody?
-
first body of the constraint.
getter/setter pairinherited
- body2 ↔ RigidBody?
-
second body of the constraint.
getter/setter pairinherited
- config ↔ JointConfig
-
getter/setter pairinherited
- dot ↔ double
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ int?
-
getter/setter pairinherited
- invScale ↔ double
-
getter/setter pairinherited
- 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
- localAngle1 ↔ Vec3
-
getter/setter pair
- localAngle2 ↔ Vec3
-
getter/setter pair
- localAxis1 ↔ Vec3
-
The axis in the first body's coordinate system.
getter/setter pair
- localAxis2 ↔ Vec3
-
The axis in the second body's coordinate system.
getter/setter pair
- name ↔ String
-
getter/setter pairinherited
- next ↔ Joint?
-
The next joint in the world.
getter/setter pairinherited
- nor ↔ 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
- r3 ↔ Rotational3Constraint
-
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
- rotationalLimitMotor1 ↔ LimitMotor
-
The first rotational limit and motor information of the joint.
getter/setter pair
- rotationalLimitMotor2 ↔ LimitMotor
-
The second rotational limit and motor information of the joint.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scale ↔ double
-
getter/setter pairinherited
- t3 ↔ Translational3Constraint
-
getter/setter pair
- tan ↔ Vec3
-
getter/setter pair
- tmp ↔ Vec3
-
getter/setter pair
- translationalLimitMotor ↔ LimitMotor
-
The translational limit and motor information of the joint.
getter/setter pair
- type ↔ JointType
-
The type of the joint.
getter/setter pairinherited
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.
override
-
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