1
Fork 0
mirror of https://github.com/Steffo99/cinnos.git synced 2024-11-25 17:44:21 +00:00
cinnos/obstacles/bullet.tscn

27 lines
1.1 KiB
Text
Raw Permalink Normal View History

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"]
2023-11-25 18:39:22 +00:00
[ext_resource type="PackedScene" uid="uid://cis3y8bj1x60j" path="res://models/can.glb" id="2_jdw1w"]
2023-11-25 17:31:47 +00:00
[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="CollisionShape3D" type="CollisionShape3D" parent="."]
2023-11-25 18:39:22 +00:00
transform = Transform3D(0.488, 0, 2.90929e-22, 0, 0.331, 0, -2.90929e-22, 0, 0.488, 0, 0, 0)
2023-11-25 17:31:47 +00:00
shape = SubResource("CylinderShape3D_rk7k5")
2023-11-25 18:39:22 +00:00
[node name="can" parent="." instance=ExtResource("2_jdw1w")]
transform = Transform3D(0.267232, 8.88178e-16, -5.29396e-23, -8.88178e-16, 0.267232, 8.88178e-16, -2.11758e-22, -8.88178e-16, 0.267232, 0, 0, 0)
2023-11-25 17:31:47 +00:00
[connection signal="body_entered" from="." to="." method="_on_body_entered"]