Basic 3D compass (with LFS)

This commit is contained in:
RedNicStone
2026-04-28 22:07:48 +02:00
parent e2185514af
commit f02e194cde
12 changed files with 221 additions and 0 deletions

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