Home

Awesome

About

My attempts to make a fun vehicle physics and arcade control. The primary goal was to make a vehicle controller which is easy to set up and fun to play with. I'm pretty happy with the results. This approach can be used for games like GTA, Rocket League or Flatout.

alt tag

Warning: This is not a final product! This is only my thoughts on the topic.

You can download precompiled demo from releases page: https://github.com/SergeyMakeev/ArcadeCarPhysics/releases/tag/1.0

Demo video available: https://www.youtube.com/watch?v=HCuJi2pntOw

Key things:

This demo is made using Unity game engine. It should be easy to implement this algorithm on any other game/physics engine.

Useful reading (in random order):

SuperTuxKart https://github.com/supertuxkart/stk-code https://supertuxkart.net

Bullet Physics Vehicle https://github.com/bulletphysics/bullet3/tree/79d24db60f2c916ffcdaf8b074be622e2e5bc609/src/BulletDynamics/Vehicle

Space Dust Racing UE4 Arcade Vehicle Physics Tour http://blog.spaceduststudios.com/space-dust-racing-unreal-engine-4-arcade-vehicle-physics-tour/ https://www.youtube.com/watch?v=LG1CtlFRmpU

Car Physics for Games http://www.asawicki.info/Mirror/Car%20Physics%20for%20Games/Car%20Physics%20for%20Games.html

Edy's Vehicle Physics: Anti-roll bars exposed http://www.edy.es/dev/2016/04/anti-roll-bars-exposed/

Edy's Vehicle Physics: Engine, clutch and gearbox in Vehicle Physics Pro http://www.edy.es/dev/2015/02/engine-clutch-and-gearbox-in-vehicle-physics-pro/

Edy's Vehicle Physics: Miscelaneous topics explained https://vehiclephysics.com/advanced/misc-topics-explained/

Edy's Vehicle Physics: Facts and myths on the Pacejka curves http://www.edy.es/dev/2011/12/facts-and-myths-on-the-pacejka-curves/

Edy's Vehicle Physics: The stabilizer bars: creating physically realistic, stable vehicles http://www.edy.es/dev/2011/10/the-stabilizer-bars-creating-physically-realistic-stable-vehicles/

Edy's Vehicle Physics: Pacejka 94 parameters explained - a comprehensive guide http://www.edy.es/dev/docs/pacejka-94-parameters-explained-a-comprehensive-guide/

PsRealVehicle is the plugin for Unreal Engine 4 with simple force-driven vehicle simulation. https://github.com/PushkinStudio/PsRealVehicle

The Physics of Racing http://phors.locost7.info/contents.htm

Randomation Vehicle Physics https://github.com/JustInvoke/Randomation-Vehicle-Physics

SimpleRaycastVehicle-Unity https://github.com/unity-car-tutorials/SimpleRaycastVehicle-Unity/

Car Controller blog post by Seena Burns http://seenaburns.com/2018/03/02/car-controller/

Supercharged! Vehicle Physics in 'Skylanders' https://www.gdcvault.com/play/1022942/Supercharged-Vehicle-Physics-in-Skylanders https://www.youtube.com/watch?v=Db1AgGavL8E

The Science of Off-Roading: 'Uncharted 4's' 4x4 https://www.gdcvault.com/play/1024620/The-Science-of-Off-Roading

Vehicle Feel Masterclass: Balancing Arcade Accessibility with Simulation Depth https://gdcvault.com/play/1025383/Vehicle-Feel-Masterclass-Balancing-Arcade

The Physics of Fun: The Vehicles of Saints Row https://www.youtube.com/watch?v=3XXw-2EPlL0

Implementing Racing Games: An intro to different approaches and their game design trade-offs https://superheroesinracecars.com/2016/08/11/implementing-racing-games-an-intro-to-different-approaches-and-their-game-design-trade-offs/

OpenC1 https://github.com/jeff-1amstudios/OpenC1/tree/master/OpenC1/Physics

How to write a driving simulator (Russian) https://gamedev.ru/code/articles/Racing_Simulator

NVidia PhysX: Vehicles User's Guide https://docs.nvidia.com/gameworks/content/gameworkslibrary/physx/guide/Manual/Vehicles.html

A 2D Car Physics Model based on Ackermann Steering http://entertain.univie.ac.at/~hlavacs/publications/car_model06.pdf

Steering theory and geometry for automobile and mechanical engineers https://www.slideshare.net/upenderrawat1/steeringtheroy

It IS Rocket Science! The Physics of 'Rocket League' Detailed https://www.gdcvault.com/play/1025341/It-IS-Rocket-Science-The

Assets

HDR Envirnoment map from HDRI HAVEN https://hdrihaven.com

Terrain textures from Texture.com https://www.textures.com

Traffic cone from "Barrier & Traffic Cone Pack" by Sabri Ayes https://assetstore.unity.com/packages/3d/environments/barrier-traffic-cone-pack-82549

Vehicle from "Muscle car 1969 Vehicle Physics (dirty and clean)" by Konstantin Koval https://assetstore.unity.com/packages/3d/vehicles/land/muscle-car-1969-vehicle-physics-dirty-and-clean-118132

Barrel from "Crate and Barrels" by Kobra Game Studios https://assetstore.unity.com/packages/3d/props/industrial/crate-and-barrels-73101