pandemonium_demo_projects/3d/truck_town
2023-04-06 21:52:34 +02:00
..
Images
Materials
screenshots
.gitattribute
car_base.tscn
car_select.gd
car_select.tscn
default_env.tres Make sure everything works under the 3d folder. 2023-04-06 21:52:34 +02:00
follow_camera.gd
icon.png
icon.png.import
project.pandemonium Make sure everything works under the 3d folder. 2023-04-06 21:52:34 +02:00
README.md
spedometer.gd
tow_truck.tscn
town_mesh.tscn
town_scene.tscn
trailer_truck.tscn
vehicle.gd

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