Physics Simulation Unreal Engine

Physics Simulation is the very latest product. It is still work in progress.

Okay Dynamics Engine featured approximately 20 sample physics scenes, many of those scenes taken from Open Dynamics Engine. I was quite satisfied by the robustness, stability of the engine, allowing the user to build and simulate complex physics models.

For similar reasons as I was experimenting the use of PhysX in Unity to simulate the sample physics scenes, I started experimenting the use of Chaos Physics in Unreal Engine.

I started experimenting with Unreal Engine Chaos Vehicle plugin. The system is very light weight, possibly allowing for hundreds of vehicles in a scene. The wheels are not rigid bodies but raycasts. Something does not feel quite right when driving a vehicle. The bodies of the vehicles do not roll; the vehicles seem to be on rails; there is little feeling of speed.

My approach was very different. The same as in the previous simulations, I created a physics model of a vehicle where the main frame is a rigid body and the four wheels are also rigid bodies, with masses, attached to the main frame using physics constraints. The wheels have limited friction. As a result I think the simulation is more rich and provides a richer, more fun experience to the player.

No attempt has been made at fine tuning the vehicle parameters. The buggy scene demonstrates vehicle body roll and skidding.

For this project I am using Unreal Engine 5.5 source code with a few small modifications.

Scene in Unity using Okay Dynamics Engine
Same scene in Unreal Engine using Chaos Physics, rigid bodies for all vehicle parts

Download play executable

PhysicsSimulation-Unreal-Win64.zip