48 lines
1.7 KiB
Text
48 lines
1.7 KiB
Text
[gd_scene load_steps=8 format=3 uid="uid://l1dqwp7nm7rb"]
|
|
|
|
[ext_resource type="Script" path="res://character/Prop.gd" id="1_u0d6m"]
|
|
[ext_resource type="PackedScene" uid="uid://bcd12ht7disho" path="res://character/CameraRig.tscn" id="2_to341"]
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_r71dd"]
|
|
height = 0.5
|
|
radius = 0.125
|
|
|
|
[sub_resource type="BoxShape3D" id="BoxShape3D_w7ie4"]
|
|
size = Vector3(0.75, 0.05, 0.05)
|
|
|
|
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ckod6"]
|
|
albedo_color = Color(0.121569, 0.415686, 0.698039, 1)
|
|
uv1_triplanar = true
|
|
|
|
[sub_resource type="CylinderMesh" id="CylinderMesh_s0bx1"]
|
|
material = SubResource("StandardMaterial3D_ckod6")
|
|
top_radius = 0.125
|
|
bottom_radius = 0.125
|
|
height = 0.5
|
|
radial_segments = 12
|
|
rings = 1
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_23j36"]
|
|
material = SubResource("StandardMaterial3D_ckod6")
|
|
size = Vector3(0.75, 0.05, 0.05)
|
|
|
|
[node name="TestProp" type="CharacterBody3D" node_paths=PackedStringArray("visual", "camera_rig")]
|
|
script = ExtResource("1_u0d6m")
|
|
visual = NodePath("MeshInstance3D")
|
|
camera_rig = NodePath("CameraRig")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
shape = SubResource("CylinderShape3D_r71dd")
|
|
|
|
[node name="CollisionShape3D2" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.2, 0)
|
|
shape = SubResource("BoxShape3D_w7ie4")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
|
|
mesh = SubResource("CylinderMesh_s0bx1")
|
|
|
|
[node name="MeshInstance3D" type="MeshInstance3D" parent="MeshInstance3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.2, 0)
|
|
mesh = SubResource("BoxMesh_23j36")
|
|
|
|
[node name="CameraRig" parent="." instance=ExtResource("2_to341")]
|