godot-demo-projects/3d/truck_town/README.md

26 lines
861 B
Markdown
Raw Normal View History

2020-03-08 02:29:42 +01:00
# Truck Town
This is a demo implementing different types of trucks of
varying complexity using vehicle physics.
Language: GDScript
2022-08-25 22:26:31 +02:00
Renderer: Vulkan Clustered
2020-03-08 02:29:42 +01:00
Check out this demo on the asset library: https://godotengine.org/asset-library/asset/524
2020-03-08 02:29:42 +01:00
## How does it work?
The base vehicle uses a
[`VehicleBody`](https://docs.godotengine.org/en/latest/classes/class_vehiclebody.html)
node. The trailer truck is tied together using a
[`ConeJointTwist`](https://docs.godotengine.org/en/latest/classes/class_conetwistjoint.html)
node, and the tow truck is tried together using a chain made of
[`RigidBody`](https://docs.godotengine.org/en/latest/classes/class_rigidbody.html)
nodes which are pinned together using
[`PinJoint`](https://docs.godotengine.org/en/latest/classes/class_pinjoint.html) nodes.
## Screenshots
![Screenshot](screenshots/truck_town.webp)