fix: demopack pickup is interactables layer
This commit is contained in:
parent
710e9c7bde
commit
3340ee4922
1 changed files with 4 additions and 1 deletions
|
|
@ -14,13 +14,16 @@ func _highlight_changed(_interactor: PlayerInteractor, value: bool) -> void:
|
||||||
func _activated(interactor: PlayerInteractor) -> void:
|
func _activated(interactor: PlayerInteractor) -> void:
|
||||||
interactor.pickup_demo_pack()
|
interactor.pickup_demo_pack()
|
||||||
get_owner().queue_free()
|
get_owner().queue_free()
|
||||||
|
|
||||||
|
func _process(delta : float):
|
||||||
|
$\"../MeshInstance3D\".global_rotate(Vector3(0, 1, 0), delta)
|
||||||
"
|
"
|
||||||
|
|
||||||
[sub_resource type="BoxMesh" id="BoxMesh_kl827"]
|
[sub_resource type="BoxMesh" id="BoxMesh_kl827"]
|
||||||
size = Vector3(0.19555664, 0.13061523, 0.37719727)
|
size = Vector3(0.19555664, 0.13061523, 0.37719727)
|
||||||
|
|
||||||
[node name="DemoPackPickup" type="StaticBody3D" unique_id=1833876644]
|
[node name="DemoPackPickup" type="StaticBody3D" unique_id=1833876644]
|
||||||
collision_layer = 18
|
collision_layer = 16
|
||||||
|
|
||||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=1902989490]
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=1902989490]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.248144, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.248144, 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue