Table of Contents

Method Suspension

Namespace
Box3D
Assembly
Box3D.NET.dll

Suspension(Body, Body, Vector3, Vector3)

Mounts a wheel on a chassis.

public static WheelJointDefinition Suspension(Body chassis, Body wheel, Vector3 worldAnchor, Vector3 worldSuspensionAxis)

Parameters

chassis Body

The chassis body.

wheel Body

The wheel body.

worldAnchor Vector3

The hub position, in world space.

worldSuspensionAxis Vector3

The direction the suspension travels along, in world space. Usually the world up axis.

Returns

WheelJointDefinition

The definition.