2023-11-25 17:31:47 +00:00
|
|
|
[gd_scene load_steps=4 format=3 uid="uid://c1p6udf66lht2"]
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://obstacles/bullet.gd" id="1_dawle"]
|
|
|
|
|
|
|
|
[sub_resource type="CylinderMesh" id="CylinderMesh_nnt0g"]
|
|
|
|
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_rk7k5"]
|
|
|
|
radius = 0.58729
|
|
|
|
|
|
|
|
[node name="Bullet" type="RigidBody3D"]
|
|
|
|
transform = Transform3D(-4.37114e-08, 1, 4.37114e-08, 0, -4.37114e-08, 1, 1, 4.37114e-08, 1.91069e-15, 0, 0, 0)
|
2023-11-25 18:25:25 +00:00
|
|
|
collision_layer = 4
|
2023-11-25 17:31:47 +00:00
|
|
|
collision_mask = 4
|
2023-11-25 17:49:48 +00:00
|
|
|
gravity_scale = 0.0
|
|
|
|
continuous_cd = true
|
|
|
|
max_contacts_reported = 1
|
|
|
|
contact_monitor = true
|
2023-11-25 17:31:47 +00:00
|
|
|
script = ExtResource("1_dawle")
|
|
|
|
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
|
|
transform = Transform3D(0.4, 0, 0, 0, 0.4, 0, 0, 0, 0.4, 0, 0, 0)
|
|
|
|
mesh = SubResource("CylinderMesh_nnt0g")
|
|
|
|
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
|
|
transform = Transform3D(0.4, 0, 0, 0, 0.4, -3.34074e-23, 0, 3.34074e-23, 0.4, 0, 0, 0)
|
|
|
|
shape = SubResource("CylinderShape3D_rk7k5")
|
|
|
|
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|