Files
godot-demo-projects/3d/waypoints
Hugo Locurcio 5f4a9e409f Use InputEventMouseMotion.screen_relative where relevant in all demos (#1232)
This provides mouse sensitivity that is independent of the viewport
size, without needing to query for project settings.

This also inverts the mouse motion direction in the 3D navigation demo
to better match expectations, and increases mouse sensitivity in the
Window Management demo to be closer to other demos.
2025-10-01 18:54:19 -07:00
..
2021-01-02 14:45:05 -06:00
2025-03-21 02:00:41 +01:00
2025-03-21 02:00:41 +01:00
2021-01-02 14:45:05 -06:00
2025-03-21 02:00:41 +01:00
2025-03-21 02:00:41 +01:00
2021-01-02 14:45:05 -06:00

3D Waypoints

This is an example of displaying GUI elements such as Labels in a 3D world, by projecting the 3D position onto the screen and displaying the GUI elements directly, instead of relying on viewports. This results in better readability and performance for use cases such as showing player names.

Some waypoints showcased in the demo will also snap to the window borders when outside the player's view.

No Viewport or Sprite3D nodes are used in this demo.

Language: GDScript

Renderer: Forward+

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

Screenshots

Screenshot