PureBasic - Vehicle

Overview

Vehicle are usually composed of one body and one or many wheels (cars, trucks, bicycle, etc.). The new created vehicle is a regular entity, so all entity functions can be used to manipulate a vehicle.

InitEngine3D() should be called successfully before using the vehicle functions.

Command Index

AddVehicleWheel
ApplyVehicleBrake
ApplyVehicleForce
ApplyVehicleSteering
CreateVehicle
CreateVehicleBody
GetVehicleAttribute
SetVehicleAttribute

Example

Vehicle.pb

Supported OS

All

Reference Manual - Index