godot-demo-projects/3d/truck_town
Aaron Franke 2ee9b47f6c
Use ETC instead of ETC2 for all GLES2 demos
2021-03-29 18:30:14 -04:00
..
Images Use ETC instead of ETC2 for all GLES2 demos 2021-03-29 18:30:14 -04:00
Materials
screenshots Optimize PNG images using oxipng 2020-08-16 17:48:38 -05:00
.gitattribute
README.md Link to the asset library from the README of each demo 2020-09-10 15:37:10 -04:00
car_base.tscn Use a higher engine force when slow and add a spedometer in Truck Town 2021-02-22 13:56:17 -05:00
car_select.gd Improve controls and camera handling in the Truck Town demo 2021-02-21 20:00:04 +01:00
car_select.tscn Use a higher engine force when slow and add a spedometer in Truck Town 2021-02-22 13:56:17 -05:00
default_env.tres Tweak settings in various 3D demos 2020-08-17 03:25:13 +02:00
follow_camera.gd Improve controls and camera handling in the Truck Town demo 2021-02-21 20:00:04 +01:00
icon.png
icon.png.import
project.godot Use ETC instead of ETC2 for all GLES2 demos 2021-03-29 18:30:14 -04:00
spedometer.gd Use a higher engine force when slow and add a spedometer in Truck Town 2021-02-22 13:56:17 -05:00
tow_truck.tscn Use a higher engine force when slow and add a spedometer in Truck Town 2021-02-22 13:56:17 -05:00
town_mesh.tscn
town_scene.tscn Use a higher engine force when slow and add a spedometer in Truck Town 2021-02-22 13:56:17 -05:00
trailer_truck.tscn Use a higher engine force when slow and add a spedometer in Truck Town 2021-02-22 13:56:17 -05:00
vehicle.gd Use a higher engine force when slow and add a spedometer in Truck Town 2021-02-22 13:56:17 -05:00

README.md

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