Torque3D Documentation / _generateds / WheeledVehicleTire

WheeledVehicleTire

consoledoc.h

Defines the properties of a WheeledVehicle tire.

More...

Public Attributes

float

Tire friction when the wheel is slipping (no traction).

float

Damping force applied against lateral forces generated by the tire.

float

Tire force perpendicular to the direction of movement.

float

Relaxing force applied against lateral forces generated by the tire.

float

Damping force applied against longitudinal forces generated by the tire.

float

Tire force in the direction of movement.

float

Relaxing force applied against longitudinal forces generated by the tire.

float

The mass of the wheel.

float

The radius of the wheel.

float

Tire restitution.

filename

The path to the shape to use for the wheel.

float

Tire friction when the wheel is not slipping (has traction).

Detailed Description

Defines the properties of a WheeledVehicle tire.

Tires act as springs and generate lateral and longitudinal forces to move the vehicle. These distortion/spring forces are what convert wheel angular velocity into forces that act on the rigid body.

Public Attributes

float kineticFriction 

Tire friction when the wheel is slipping (no traction).

float lateralDamping 

Damping force applied against lateral forces generated by the tire.

float lateralForce 

Tire force perpendicular to the direction of movement.

Lateral force can in simple terms be considered left/right steering force. WheeledVehicles are acted upon by forces generated by their tires and the lateralForce measures the magnitude of the force exerted on the vehicle when the tires are deformed along the x-axis. With real wheeled vehicles, tires are constantly being deformed and it is the interplay of deformation forces which determines how a vehicle moves. In Torque's simulation of vehicle physics, tire deformation obviously can't be handled with absolute realism, but the interplay of a vehicle's velocity, its engine's torque and braking forces, and its wheels' friction, lateral deformation, lateralDamping, lateralRelaxation, longitudinal deformation, longitudinalDamping, and longitudinalRelaxation forces, along with its wheels' angular velocity are combined to create a robust real-time physical simulation.

For this field, the larger the value supplied for the lateralForce, the larger the effect steering maneuvers can have. In Torque tire forces are applied at a vehicle's wheel hubs.

float lateralRelaxation 

Relaxing force applied against lateral forces generated by the tire.

The lateralRelaxation force measures how strongly the tire effectively un-deforms.

float longitudinalDamping 

Damping force applied against longitudinal forces generated by the tire.

float longitudinalForce 

Tire force in the direction of movement.

Longitudinal force can in simple terms be considered forward/backward movement force. WheeledVehicles are acted upon by forces generated by their tires and the longitudinalForce measures the magnitude of the force exerted on the vehicle when the tires are deformed along the y-axis.

For this field, the larger the value, the larger the effect acceleration/deceleration inputs have.

float longitudinalRelaxation 

Relaxing force applied against longitudinal forces generated by the tire.

The longitudinalRelaxation force measures how strongly the tire effectively un-deforms.

float mass 

The mass of the wheel.

Currently unused.

float radius 

The radius of the wheel.

The radius is determined from the bounding box of the shape provided in the shapefile field, and does not need to be specified in script. The tire should be built with its hub axis along the object's Y-axis.

float restitution 

Tire restitution.

Currently unused.

filename shapeFile 

The path to the shape to use for the wheel.

float staticFriction 

Tire friction when the wheel is not slipping (has traction).