Unreal Engine

Game Development

Aerial Vehicle Prototype with AI Traffic





After 3 weeks of non-stop work, I finally have a functional vehicle system in Unreal Engine built entirely in C++!

Here’s a breakdown of the core classes and how they communicate with each other:

  • Engine → Calculates the engine’s angular velocity by using the RPM to sample a predefined torque curve, then passes it to the clutch
  • Clutch → Synchronizes the engine’s angular velocity with the transmission’s angular velocity
  • Gearbox → Multiplies the engine torque by the current gear ratio
  • Differential → Multiplies the torque by the final gear and distributes it between the wheels
  • Wheel → Handles suspension, converts incoming drive torque into forces for acceleration. It also handles steering and friction

With sub-stepping, each wheel reports its updated angular velocity back to the clutch, which then influences the engine RPM—completing the feedback loop of the drivetrain.

(What you see here has not been tuned yet for better friction and horsepower).

Big thanks goes to Иван Новожилов on YouTube for sharing such insightful content — his videos have been a huge help during this development journey. 🙌