fix collision shape of mini view

This commit is contained in:
Nitwel 2024-04-30 19:25:55 +02:00
parent f652164637
commit 109ad103a0

View File

@ -96,6 +96,7 @@ func _ready():
var center=aabb.position + aabb.size / 2 var center=aabb.position + aabb.size / 2
collision_shape.shape.size=aabb.size * 0.1 collision_shape.shape.size=aabb.size * 0.1
collision_shape.position=center * 0.1
entity_select.position=Vector3(0, height * 0.1 + 0.1, 0) entity_select.position=Vector3(0, height * 0.1 + 0.1, 0)
var camera=$"/root/Main/XROrigin3D/XRCamera3D" var camera=$"/root/Main/XROrigin3D/XRCamera3D"