Tipps and Tricks
Timer
There's a tiny timer tutorial in the signal introduction.
Start a quick temporary timer and connect it via
get_tree().create_timer(1.0).timeout.connect(_on_one_timer_timeout)
Import Hints
Godot offers several suffixes that can be added to the names of the objects in your 3D modeling software and will perform actions automatically at import:
- Adding collision detection to objects.
- Setting objects as navigation meshes.
- Deleting nodes that are not used in the game engine (like specific lights used for modeling).
| Suffix | Notes |
|---|---|
-noimp |
will be removed at import-time no matter what their type is. They will not appear in the imported scene. |
-col |
If the option -col it is detected, a child static collision node will be added, using the same geometry as the mesh. |
-convcol |
The option -convcol will create a ConvexPolygonShape3D instead of a ConcavePolygonShape3D. |
-colonly |
upon importing will replace the mesh and create a StaticBody3D collision. |
-convcolonly |
works in a similar way, but will create a ConvexPolygonShape3D instead using convex decomposition. |
-navmesh |
will be converted to a navigation mesh. |
-vehicle |
will be imported as a child to a VehicleBody3D node. |
-wheel |
will be imported as a child to a VehicleWheel3D node. |
-rigid |
will be imported as a RigidBody3D. |