initial commit
This commit is contained in:
28
assets/jump_pickup.tscn
Normal file
28
assets/jump_pickup.tscn
Normal file
@@ -0,0 +1,28 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://ckidx5ph8ei2g"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/item_pickup.gd" id="1_gmdl1"]
|
||||
[ext_resource type="PackedScene" uid="uid://bfjjax1x54bug" path="res://assets/Models/jump.blend" id="2_scebu"]
|
||||
|
||||
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_om0ey"]
|
||||
radius = 0.300323
|
||||
height = 1.02109
|
||||
|
||||
[node name="ammo_pickup" type="RigidBody3D" groups=["pickup"]]
|
||||
collision_layer = 4
|
||||
collision_mask = 6
|
||||
script = ExtResource("1_gmdl1")
|
||||
pickupType = "jump"
|
||||
|
||||
[node name="Area3D" type="Area3D" parent="."]
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
|
||||
shape = SubResource("CapsuleShape3D_om0ey")
|
||||
|
||||
[node name="CollisionShape3D2" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("CapsuleShape3D_om0ey")
|
||||
|
||||
[node name="jump" parent="." instance=ExtResource("2_scebu")]
|
||||
|
||||
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
||||
[connection signal="area_entered" from="Area3D" to="." method="_on_area_3d_area_entered"]
|
||||
[connection signal="body_entered" from="Area3D" to="." method="_on_area_3d_body_entered"]
|
||||
Reference in New Issue
Block a user