GearJointDef class

Gear joint definition. This definition requires two existing revolute or prismatic joints (any combination will work). The provided joints must attach a dynamic body to a static body.

Inheritance

Constructors

GearJointDef()

Properties

bodyA Body
The first attached body.
read / write, inherited
bodyB Body
The second attached body.
read / write, inherited
collideConnected bool
Set this flag to true if the attached bodies should collide.
read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
joint1 Joint
The first revolute/prismatic joint attached to the gear joint.
read / write
joint2 Joint
The second revolute/prismatic joint attached to the gear joint.
read / write
ratio double
Gear ratio. [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type JointType
The joint type is set automatically for concrete joint types.
read / write, inherited
userData Object
Use this to attach application specific data to your joints.
read / write, inherited

Methods

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

Operators

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