Skip to content

Chaos Vehicles Plugin: What's new ?

Corentin Demougeot edited this page Feb 2, 2024 · 14 revisions

Introduction

Presentation:

Consider this plugin as a research project. The main idea was to learn the basics of vehicle simulation.

This plugin is based on the Chaos Vehicles Plugin from Epic Games. Doc

This is an open-source plugin created with UE5.3 under the MIT license. You can use, modify, and upgrade it as you wish.

Visual

Mechanical Animations:

Animated mechanical parts:

  • Tie rods
  • Control arms
  • Dampers
  • Springs
  • Sway bar
  • Rear solid axle
  • Shock absorbers
  • Drive shaft

Development

Wheels

Advanced Sphere Cast:

This sphere cast is taking into account the wheel’s width and height: the sphere cast shape change its radius depending on whether the collision is detected on the wheel’s front or side.


Wheels Stop in Void:

Transmission

Manual Transmission:

I have added a classic manual transmission and improvements from the original code.


Clutch:

If active, you need to engage the clutch before changing gears.


Car Stalls:

The car stalls if its speed is too low and it's not in neutral gear.

Engine

Engine Ignition and Starter:

Give the possibility to start or stop the engine restricted by transmission constraints.


Engine Inertia Driving Wheels at Low RPM:

On deceleration, car locks at low speed: the car is driven by the engine idle speed.

Fixes From Original

RPM clamping:

Initially, the engine speed was clamped from idle speed to max speed, causing the RPM to lock at idle speed during low-speed.

RPM blocked at neutral gear:

Allow the engine speed to decrease when in neutral gear.