JointConfig class

Constructors

JointConfig({RigidBody? body1, RigidBody? body2, double scale = 1, double invScale = 1, bool allowCollision = false, Vec3? localAnchorPoint1, Vec3? localAnchorPoint2, Vec3? localAxis1, Vec3? localAxis2})

Properties

allowCollision bool
Whether allow collision between connected rigid bodies or not.
getter/setter pair
body1 RigidBody?
The first rigid body of the joint.
getter/setter pair
body2 RigidBody?
The second rigid body of the joint.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
invScale double
getter/setter pair
localAnchorPoint1 Vec3
The anchor point on the first rigid body in local coordinate system.
getter/setter pair
localAnchorPoint2 Vec3
The anchor point on the second rigid body in local coordinate system.
getter/setter pair
localAxis1 Vec3
The axis in the first body's coordinate system. his property is available in some joints.
getter/setter pair
localAxis2 Vec3
The axis in the second body's coordinate system. This property is available in some joints.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale double
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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