Skip to content

API > WheelHit


WheelHit⚓︎

Contact information for the wheel, reported by WheelCollider.

Members⚓︎

Properties⚓︎

Name Description
WheelHit.colliderProperty The other Collider the wheel is hitting.
WheelHit.forceProperty The magnitude of the force being applied for the contact.
WheelHit.forwardDirProperty The direction the wheel is pointing in.
WheelHit.forwardSlipProperty Tire slip in the rolling direction. Acceleration slip is negative, braking slip is positive.
WheelHit.normalProperty The normal at the point of contact.
WheelHit.pointProperty The point of contact between the wheel and the ground.
WheelHit.sidewaysDirProperty The sideways direction of the wheel.
WheelHit.sidewaysSlipProperty Tire slip in the sideways direction.

Constructor⚓︎

Name Description
WheelHit()Constructor Create new WheelHit

Example⚓︎

Friction for the WheelCollider is computed separately from the rest of the physics, using a slip based tire friction model. This allows for more realistic behaviour, but makes wheel colliders ignore standard PhysicMaterial settings.