tweaked bullet and pick up method
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://5jhwtkdggfle"]
|
||||
|
||||
[ext_resource type="Script" path="res://assets/casing_2.gd" id="1_dxvh8"]
|
||||
[ext_resource type="Script" path="res://assets/casing.gd" id="1_dxvh8"]
|
||||
[ext_resource type="PackedScene" uid="uid://bv0sfqdgwa85p" path="res://assets/Models/casing.blend" id="2_ba08p"]
|
||||
[ext_resource type="AudioStream" uid="uid://c76b5enfeodn5" path="res://assets/Audio/coin-drop-SBA-300024590.wav" id="3_2vc1o"]
|
||||
|
||||
|
||||
@@ -50,6 +50,8 @@ points = PackedVector3Array(0.202827, -0.297797, 0.00403334, -0.192761, -0.35888
|
||||
collision_layer = 32
|
||||
collision_mask = 125
|
||||
continuous_cd = true
|
||||
contact_monitor = true
|
||||
max_contacts_reported = 1
|
||||
script = ExtResource("1_sfpqr")
|
||||
broken_object = ExtResource("2_e3uhf")
|
||||
|
||||
@@ -59,3 +61,5 @@ skeleton = NodePath("")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("ConvexPolygonShape3D_cymse")
|
||||
|
||||
[connection signal="body_shape_entered" from="." to="." method="_on_body_shape_entered"]
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[gd_scene load_steps=5 format=3 uid="uid://c1gdehrsytlkk"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://bv0sfqdgwa85p" path="res://assets/Models/casing.blend" id="1_8ox1t"]
|
||||
[ext_resource type="Script" path="res://assets/casing_2.gd" id="1_34yke"]
|
||||
[ext_resource type="Script" path="res://assets/casing.gd" id="1_34yke"]
|
||||
[ext_resource type="AudioStream" uid="uid://c76b5enfeodn5" path="res://assets/Audio/coin-drop-SBA-300024590.wav" id="3_op3tv"]
|
||||
|
||||
[sub_resource type="CylinderShape3D" id="CylinderShape3D_ejwa0"]
|
||||
|
||||
@@ -194,6 +194,10 @@ offset_bottom = 2160.0
|
||||
[node name="MoveableHolder" type="Node3D" parent="Head"]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.287198, -2.1034)
|
||||
|
||||
[node name="StandCheck" type="RayCast3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.989648, 0)
|
||||
collision_mask = 33
|
||||
|
||||
[node name="pick_up_detection" type="Area3D" parent="."]
|
||||
collision_layer = 0
|
||||
collision_mask = 16
|
||||
|
||||
Reference in New Issue
Block a user