Basic 3D compass

This commit is contained in:
RedNicStone committed 2026-04-28 21:44:29 +02:00
1 parent 5a19d26b86
commit f2d52710de
12 files changed
+1159

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
extends Node3D
func _ready() -> void:
for i in range(0, 360, 30):
var label := Label3D.new()
label.text = str(i)
label.billboard = BaseMaterial3D.BILLBOARD_ENABLED
label.font_size = 64
label.pixel_size = 0.0025
var base_position = Vector2.from_angle(deg_to_rad(i)) * 1.15
label.position = Vector3(base_position.x, 0.0, base_position.y)
add_child(label)
func _process(delta: float) -> void:
pass
+1
View File
@@ -0,0 +1 @@
uid://cgcgn8lwigumx