Skip to content
项目

Dechode/Godot-Advanced-Vehicle

在 GitHub 查看

关于

A more advanced vehicle controller for the Godot game engine.

游戏与模拟器

这些数字如何统计

实测星标增长

24小时
0
7天
-1
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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

探索相关项目

加载中…