custom 3d car

For this Godot project, I made a custom wheel system from the ground up, designed to deliver a customizable and engaging driving experience.

I made a custom Wheel class that simulates semi-realistic car wheel physics using RayCast3D nodes for ground detection. It handles suspension, acceleration, steering, and various friction forces.

detailed wheel simulation

Each wheel is individually simulated to provide authentic car behavior:

  • Suspension: A spring and damper system for each wheel effectively handles bumps and uneven terrain, ensuring a smooth ride.
  • Traction & Steering: Realistic acceleration and steering forces are applied to the wheels, allowing for precise control and dynamic maneuvers.
  • Friction: Both rolling and lateral friction are simulated to provide a realistic driving feel, preventing unnatural sliding.

dynamic camera & audio

  • Orbiting Camera: Intelligently follows the car. Players can control the perspective with the mouse, rotating to align with the car's direction.
  • Sound Effects: Dynamic sounds change convincingly with speed and acceleration, while collision sounds add impact to the driving experience.

This system was key to achieving a responsive driving experience, offering precise control over car behavior for use in future vehicle projects.