Creating 3D Model

The first step in creating your custom truck is to build a 3D model of the vehicle. The model must contain the following components:

  • Visual meshes — define the truck’s appearance and are rendered in the game.
  • Collision meshes — handle collisions in the physics engine. Collision meshes are attached to physical bones and described as physical bodies in the <PhysicsModel> of your truck.
  • Skeleton — consists of physical and non‑physical bones:
    • Physical bones — together with their associated collision meshes, they represent the physical bodies of the model.
    • Non‑physical bones — are not part of the physics simulation. However, they are integral to the bone hierarchy: non‑physical bones are attached to other bones, and their position is determined by the position and movement of connected bones or wheels.
  • System objects — locators for in-game systems: cameras, mirrors, etc.

Tip

Create a 3D model of the truck without wheels, as they are a separate entity. You can use predefined wheels or create custom ones.