模板场景文件
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
[gd_scene load_steps=5 format=3]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://assets/items/misc/models/bone.fbx" id="1_model"]
|
||||
[ext_resource type="Script" path="res://scripts/items/item_rigid_body_3d.gd" id="2_script"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_item"]
|
||||
size = Vector3(0.45792, 0.154665, 0.08)
|
||||
|
||||
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_item"]
|
||||
properties/0/path = NodePath(".:position")
|
||||
properties/0/spawn = true
|
||||
properties/0/replication_mode = 2
|
||||
properties/1/path = NodePath(".:rotation")
|
||||
properties/1/spawn = true
|
||||
properties/1/replication_mode = 2
|
||||
|
||||
[node name="Bone" type="RigidBody3D"]
|
||||
collision_layer = 4
|
||||
collision_mask = 7
|
||||
linear_damp = 1.0
|
||||
angular_damp = 1.0
|
||||
script = ExtResource("2_script")
|
||||
item_id = "bone"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
shape = SubResource("BoxShape3D_item")
|
||||
|
||||
[node name="Model" parent="." instance=ExtResource("1_model")]
|
||||
transform = Transform3D(0.45, 0, 0, 0, 0.45, 0, 0, 0, 0.45, 0, 0, 0)
|
||||
|
||||
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
||||
replication_config = SubResource("SceneReplicationConfig_item")
|
||||
@@ -0,0 +1,33 @@
|
||||
[gd_scene load_steps=5 format=3]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://assets/items/misc/models/chalice.fbx" id="1_model"]
|
||||
[ext_resource type="Script" path="res://scripts/items/item_rigid_body_3d.gd" id="2_script"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_item"]
|
||||
size = Vector3(0.218565, 0.33606, 0.21852)
|
||||
|
||||
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_item"]
|
||||
properties/0/path = NodePath(".:position")
|
||||
properties/0/spawn = true
|
||||
properties/0/replication_mode = 2
|
||||
properties/1/path = NodePath(".:rotation")
|
||||
properties/1/spawn = true
|
||||
properties/1/replication_mode = 2
|
||||
|
||||
[node name="Chalice" type="RigidBody3D"]
|
||||
collision_layer = 4
|
||||
collision_mask = 7
|
||||
linear_damp = 1.0
|
||||
angular_damp = 1.0
|
||||
script = ExtResource("2_script")
|
||||
item_id = "chalice"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
position = Vector3(-0.001463, 0.16605, 0)
|
||||
shape = SubResource("BoxShape3D_item")
|
||||
|
||||
[node name="Model" parent="." instance=ExtResource("1_model")]
|
||||
transform = Transform3D(0.45, 0, 0, 0, 0.45, 0, 0, 0, 0.45, 0, 0, 0)
|
||||
|
||||
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
||||
replication_config = SubResource("SceneReplicationConfig_item")
|
||||
@@ -0,0 +1,33 @@
|
||||
[gd_scene format=3]
|
||||
|
||||
[ext_resource type="PackedScene" path="res://assets/items/misc/models/chicken_leg.fbx" id="1_model"]
|
||||
[ext_resource type="Script" path="res://scripts/items/item_rigid_body_3d.gd" id="2_script"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_item"]
|
||||
size = Vector3(0.46521, 0.193365, 0.20349)
|
||||
|
||||
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_item"]
|
||||
properties/0/path = NodePath(".:position")
|
||||
properties/0/spawn = true
|
||||
properties/0/replication_mode = 2
|
||||
properties/1/path = NodePath(".:rotation")
|
||||
properties/1/spawn = true
|
||||
properties/1/replication_mode = 2
|
||||
|
||||
[node name="ChickenLeg" type="RigidBody3D"]
|
||||
collision_layer = 4
|
||||
collision_mask = 7
|
||||
linear_damp = 1.0
|
||||
angular_damp = 1.0
|
||||
script = ExtResource("2_script")
|
||||
item_id = "chicken_leg"
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
position = Vector3(-0.02961, -0.001237, 0)
|
||||
shape = SubResource("BoxShape3D_item")
|
||||
|
||||
[node name="Model" parent="." instance=ExtResource("1_model")]
|
||||
transform = Transform3D(0.45, 0, 0, 0, 0.45, 0, 0, 0, 0.45, 0, 0, 0)
|
||||
|
||||
[node name="MultiplayerSynchronizer" type="MultiplayerSynchronizer" parent="."]
|
||||
replication_config = SubResource("SceneReplicationConfig_item")
|
||||
Reference in New Issue
Block a user