Coder Social home page Coder Social logo

jianruwang-1996 / project-424-unity Goto Github PK

View Code? Open in Web Editor NEW

This project forked from perrinn/project-424-unity

1.0 0.0 0.0 2.24 GB

Simulation of the 424 in Unity using Vehicle Physics Pro

C# 94.98% MATLAB 0.23% HLSL 0.24% ShaderLab 4.54%

project-424-unity's Introduction

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 set up and open the project in Unity

  1. Clone the repository to your computer.
  2. Add the repository folder to Unity Hub: Projects > Open > Add project from disk, select the folder with the repository.
  3. Click the newly added project in the list

NOTE: Don't copy the repository folder to an existing Unity project. The simulation won't likely work.

How to run the PERRINN 424 hypercar in autopilot

  1. Open the scene "Scenes/424 Nordschleife Scene".
  2. Play the scene. The car is at the starting point.
  3. Press Q to enable the autopilot.

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

How to drive the 424

  1. Open one of the scenes in the Scenes folder and Play it.
  2. Press I to open the input settings. The first time it shows the default keyboard mappings.
  3. Click the inputs and follow the instructions to map the inputs to your device. Currently keyboard and DirectInput devices (with or without force feedback) are supported. Your settings will be saved and remembered.
  4. Press the Gear Up input to engage the D (drive) mode.
  5. Drive!

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 must support the same operations supported by built-in 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.

project-424-unity's People

Contributors

maesla avatar edyj avatar augustonetto avatar jackteo avatar anthonywarrington avatar heliozuazua666 avatar alexwebber807 avatar noahng avatar alex24h avatar thrillcapital avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.