Skip to content

Simulation of the 424 in Unity using Vehicle Physics Pro

Notifications You must be signed in to change notification settings

OSSDC/project-424-unity

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project 424

Simulation of the PERRINN 424 electric hypercar in Unity using Vehicle Physics Pro

Hot Lap video in Monza

Requirements

  • Unity 2019.4 LTS (using 2019.4.18f1 at the time of writing this)

How to run the PERRINN 424 hypercar in autopilot

  1. Clone the repository to your computer and open it in Unity.
  2. Open the scene "Scenes/424 Nordschleife Scene".
  3. Play the scene. The car is at the starting point.
  4. Press Q to enable the autopilot.

All other features work normally: telemetry, cameras, time scale...

How to drive the 424

Requires a steering wheel device: Logitech G27/G29, Thrustmaster, Fanatec Podium.

  1. Clone the repository to your computer and open it in Unity.
  2. Open one of the scenes at the Scenes folder.
  3. In the Hierarchy window select the car (PERRINN 424 Nordschleife), then select the Input GameObject in it.
  4. In the Device Input component choose your wheel model, select the device number (normally 0), and enter the degrees of rotation currently configured in your wheel.
  5. Play the scene.

Development guidelines

Writing code and components for the Project 424 should follow these rules:

Code

Code should follow the conventions of the Unity API:

  • Namespace, class, methods, properties, etc.
  • Naming and case as in the Unity API.

Components

Components should support the same operations supported by standard Unity components without errors, including:

  • Enable / disable in runtime.
  • Instance / destroy in runtime.
  • Instance / destroy prefabs using the component.
  • Modify the public properties in the inspector in runtime.
  • Modify the public properties from other scripts, both in editor and runtime.
  • Hot script reload.

About

Simulation of the 424 in Unity using Vehicle Physics Pro

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 94.7%
  • ShaderLab 3.9%
  • Other 1.4%