Files
godot-demo-projects/3d/truck_town
Hugo Locurcio d90e401d2a Improve controls and camera handling in the Truck Town demo
- Increase movement and steering speed significantly.
- Increase gravity slightly for a less floaty feeling.
- Simplify camera code (height is now constant).
- Tweaked camera distance and height to fit each vehicle.
- Fix script error when pressing Escape in the main menu
  (the demo will now quit).
2021-02-21 20:00:04 +01:00
..
2020-08-16 17:48:38 -05:00
2018-02-15 20:31:49 +11:00

Truck Town

This is a demo implementing different types of trucks of varying complexity using vehicle physics.

Do not be surprised if everything is bouncy and glitchy, Godot's physics system is not polished and will likely be reworked in the future.

Language: GDScript

Renderer: GLES 2

Check out this demo on the asset library: https://godotengine.org/asset-library/asset/524

How does it work?

The base vehicle uses a VehicleBody node. The trailer truck is tied together using a ConeJointTwist node, and the tow truck is tried together using a chain made of RigidBody nodes which are pinned together using PinJoint nodes.

Screenshots

Screenshot