mirror of
https://gitlab.com/open-fpsz/open-fpsz.git
synced 2026-04-29 16:25:35 +00:00
42 lines
1.5 KiB
Text
42 lines
1.5 KiB
Text
[gd_scene load_steps=6 format=3 uid="uid://c88l3h0ph00c7"]
|
|
|
|
[ext_resource type="Script" path="res://entities/flag/flag.gd" id="1_y7d3d"]
|
|
[ext_resource type="PackedScene" uid="uid://bftyiy6r0xaa3" path="res://entities/flag/assets/flag.glb" id="2_i78em"]
|
|
|
|
[sub_resource type="PhysicsMaterial" id="PhysicsMaterial_4ymrw"]
|
|
bounce = 0.5
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_fkf1k"]
|
|
size = Vector3(0.5, 2, 0.1)
|
|
|
|
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_lpijf"]
|
|
properties/0/path = NodePath(".:position")
|
|
properties/0/spawn = true
|
|
properties/0/replication_mode = 1
|
|
properties/1/path = NodePath(".:linear_velocity")
|
|
properties/1/spawn = true
|
|
properties/1/replication_mode = 1
|
|
properties/2/path = NodePath(".:flag_state")
|
|
properties/2/spawn = true
|
|
properties/2/replication_mode = 2
|
|
|
|
[node name="Flag" type="RigidBody3D"]
|
|
collision_layer = 8
|
|
collision_mask = 2147483656
|
|
axis_lock_angular_x = true
|
|
axis_lock_angular_y = true
|
|
axis_lock_angular_z = true
|
|
mass = 40.0
|
|
physics_material_override = SubResource("PhysicsMaterial_4ymrw")
|
|
continuous_cd = true
|
|
script = ExtResource("1_y7d3d")
|
|
|
|
[node name="Mesh" parent="." instance=ExtResource("2_i78em")]
|
|
transform = Transform3D(0.33, 0, 0, 0, 0.421029, 0, 0, 0, 0.33, 0, 0.0744106, 0)
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
|
|
shape = SubResource("BoxShape3D_fkf1k")
|
|
|
|
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
|
replication_config = SubResource("SceneReplicationConfig_lpijf")
|