Files
PolyphiaGame/Prefab/bullet.tscn
T

29 lines
1007 B
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://ck3xxdbmcedjx"]
[ext_resource type="Script" uid="uid://qsbk1qvvurnk" path="res://Scripts/Game/Bullet.cs" id="1_03ucf"]
[sub_resource type="SphereShape3D" id="SphereShape3D_ny6id"]
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_lhbkk"]
properties/0/path = NodePath(".:position")
properties/0/spawn = true
properties/0/replication_mode = 1
[node name="Bullet" type="RigidBody3D"]
continuous_cd = true
contact_monitor = true
max_contacts_reported = 1
script = ExtResource("1_03ucf")
[node name="Collider" type="CollisionShape3D" parent="."]
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
shape = SubResource("SphereShape3D_ny6id")
[node name="Mesh" type="CSGSphere3D" parent="."]
radius = 0.25
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
replication_config = SubResource("SceneReplicationConfig_lhbkk")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]