A downloadable game

Source Code

Armoured car 3D model

This is a demo of a rigged armoured car using the Unreal Engine Chaos Vehicle plugin.

I rigged the car in Blender for animation in Unreal Engine. In Unreal Engine I setup the animation blueprint to rotate the turret, elevate the gun, recoil the gun and animate the chaos vehicle physics. 

This demo also includes a configurable rewind functionality, allowing you to retrace the path you took with a single button press. 

This demo could make the basis of a fast-paced arcade vehicle shooter. 

Armoured Car

Source Code
The armoured car class inherits from Unreal's Wheeled Vehicle Pawn, allowing for player possession and input binding. 

This class handles firing, recoil, sounds, and reloading.

The two biggest challenges were getting the vehicle rigging to work properly with the physics asset in Unreal Engine and getting the turret to always take the shortest path when following the camera. 

Rewind Component

Source Code
This actor component can be attached to any physics actor because it only tracks the position and rotation of the actor, so no other variables need to be exposed to the component.

The biggest challenge with this component was making the motion smooth and framerate independent.

I made the motion framerate independent by running recording and playback using timers, which run in a separate asynchronous thread and execute at specific time intervals.

I made the motion smooth by adding an interpolate option. This will linearly interpolate the position and rotation of the actor between two adjacent sample points based on the framerate. This enables a lower sample rate, reducing memory usage or enabling a longer recording buffer.

Leave a comment

Log in with itch.io to leave a comment.