open-strike-2/scenes/maps/tools/hit_detector.tscn

22 lines
796 B
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://cdcbn8mglqlyh"]
[ext_resource type="Script" path="res://scenes/maps/tools/hit_detector.gd" id="1_4w4v8"]
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_8tws6"]
properties/0/path = NodePath("Box:color")
properties/0/spawn = true
properties/0/replication_mode = 1
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_r26tj"]
[node name="HitDetector" type="Node3D"]
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="." groups=["target"]]
replication_config = SubResource("SceneReplicationConfig_8tws6")
[node name="Box" type="CSGBox3D" parent="." groups=["target"]]
use_collision = true
collision_layer = 9
material = SubResource("StandardMaterial3D_r26tj")
script = ExtResource("1_4w4v8")