WIP: Spawn bullets on the server and sync them

This commit is contained in:
2025-01-26 19:34:59 +01:00
parent ed53f156c0
commit dbfcf573c2
4 changed files with 8 additions and 5 deletions

View File

@ -33,13 +33,13 @@ size = Vector3(0.05, 0.05, 0.05)
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_b8q4c"]
properties/0/path = NodePath(".:position")
properties/0/spawn = true
properties/0/replication_mode = 1
properties/0/replication_mode = 2
properties/1/path = NodePath(".:rotation")
properties/1/spawn = true
properties/1/replication_mode = 1
properties/1/replication_mode = 2
properties/2/path = NodePath(".:rotation_order")
properties/2/spawn = true
properties/2/replication_mode = 1
properties/2/replication_mode = 2
[node name="Bullet" type="Node3D"]
transform = Transform3D(20, 0, 0, 0, 20, 0, 0, 0, 20, 0, 0, 0)