(→Land) |
|||
Line 2: | Line 2: | ||
==Land== | ==Land== | ||
+ | |||
+ | Select the main mesh for your vehicle and add a collider. | ||
+ | |||
+ | Ensure the collider does not overlap with the wheels. (The wheels will have their own colliders applied by the Car Physics script and those colliders should not overlap the body collider.) | ||
+ | |||
+ | |||
+ | [[File:Box_collider.jpg]] | ||
+ | |||
Attach the Car Vehicle component to your vehicle. | Attach the Car Vehicle component to your vehicle. |
There are four types of vehicles in the Space virtual world platform;
Select the main mesh for your vehicle and add a collider.
Ensure the collider does not overlap with the wheels. (The wheels will have their own colliders applied by the Car Physics script and those colliders should not overlap the body collider.)
Attach the Car Vehicle component to your vehicle.
This will add three scripts to the object;
Car Physics
Vehicle Rigid Body
Car Physics
PENDING
PENDING
PENDING