fix collision shape of mini view
This commit is contained in:
parent
f652164637
commit
109ad103a0
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user