Skip to content
Proyek

Dechode/Godot-Advanced-Vehicle

Lihat di GitHub

Tentang

A more advanced vehicle controller for the Godot game engine.

Gim dan emulasi

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
-1
dalam 15 hari
0
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

Godot Advanced Vehicle

A more advanced car controller for the Godot game engine.

Description

Custom rigidbody car controller with raycast suspension for the Godot game engine. This one is more realistic than the built-in vehiclebody with wheelcolliders. This project will be a small demo of the vehicle physics i have been able to craft so far.

Features:

  • RWD, FWD and AWD drivetypes available
  • Pacejka and brush tire model available.
  • Tire wear
  • Fuel consumption using BSFC
  • Choose between preloaded limited slip diff, open diff and locked diff/solid axle
  • Manual clutch with adjustable clutch friction force
  • Manual and automatic gearbox

This project would not have been possible without Wolfes written tutorial of his own car simulator physics. Also huge thank you to Bastiaan Olij for his vehicle demo. See the links in the Acknowledments section for more info.

Controls

Keyboard:

  • Arrow keys for throttle, brake and steering
  • Space for handbrake
  • A for upshifting and Z for downshifting
  • c for clutch

Xbox controller:

  • R2 for throttle and L2 for braking
  • Left analog stick for steering
  • A button for upshifting and X button for downshifting
  • B button for handbrake
  • LB for clutch

Help

Make sure the physics FPS is set to atleast 120 or the physics start to get weird. In this project it is set to 240.

License

This project is licensed under the MIT License - see the LICENSE.md file for details. This project also contains models and textures owned by their authors. See links below for exact licenses.

Engine sound sample found in /sounds folder is made with enginesound, available from https://github.com/DasEtwas/enginesound. The sound sample itself is licensed under cc0.

Acknowledgments

Jelajahi proyek terkait

Memuat…