Wheel Collider

Wheel Collider Info

Access information about a Wheel Collider.

Name
Type
Description

Wheel Collider

Wheel Collider

Reference to a Wheel Collider.

Outputs:

Name
Type
Description

Rpm

Float

Current wheel axle rotation speed, in rotations per minute.

Steer Angle

Float

Steering angle in degrees, always around the local y-axis.

Sprung Mass

Float

The mass supported by this Wheel Collider.

Is Grounded

Boolean

Indicates whether the wheel currently collides with something.

Ground Hit Position

Vector3

The point of contact between the wheel and the ground.

Wheel Position

Vector3

The position of the wheel.

Wheel Rotation

Quaternion

The rotation of the wheel.

Set value nodes

There are multiple nodes that you can use to set properties of a Wheel Collider. For more information, refer to the WheelCollider page in the Unity documentation.

The set nodes for a Wheel Collider have a similar arrangement of inputs and outputs, as described in the following sections.

Example set node for a Wheel Collider - the Set Brake Torque node

Inputs:

Name
Type
Description

Enter

Flow

Flow to activate the node.

Wheel Collider

Wheel Collider

Reference to a Wheel Collider.

<property>

Float [editable]

The value to set for the chosen property.

Outputs:

Name
Type
Description

Exit

Flow

Continue the activating flow.

Available nodes:

Name
Input type
Description

Set Brake Torque

Float [editable]

Brake torque expressed in Newton metres.

Set Motor Torque

Float [editable]

Motor torque on the wheel axle expressed in Newton metres. Positive or negative depending on direction.

Set Steer Angle

Float [editable]

Steering angle in degrees, always around the local y-axis.

Last updated