Skip to content

Demos of using the Dreg driving physics library

Notifications You must be signed in to change notification settings

UO269984/dreg-demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 

Repository files navigation

Dreg demos

Demos of using the Dreg driving physics library.

Currently the only demo available features an interactive vehicle in a 3D environment, developed with Unity. This can be run on Windows, Linux and Android with the files available in the latest release. It can also be run on its web version (this one is not compatible with mobile devices).

Controls

The Unity demo supports mouse and keyboard, gamepad, and phone gyroscope as input methods.

Action Mouse - Keyboard Gamepad Gyroscope
Rotate camera Drag mouse R Drag in touch screen
Steering A - D L Tilt sideways
Throttle W R2 Touch BT
Brake/Clutch Shift L2 Touch BT
Up gear R R1 Touch BT
Down gear F L1 Touch BT
Pause Esc Options Android back button
Start/stop input log record L Directional pad left -
Toggle brake/clutch Q Directional pad down -