48 lines
1.7 KiB
Text
48 lines
1.7 KiB
Text
[gd_scene load_steps=8 format=3 uid="uid://dlbumgy041cro"]
|
|
|
|
[ext_resource type="Script" path="res://character/Prop.gd" id="1_et1ab"]
|
|
[ext_resource type="PackedScene" uid="uid://bcd12ht7disho" path="res://character/CameraRig.tscn" id="2_sw44e"]
|
|
|
|
[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_8m0si"]
|
|
albedo_color = Color(0.698039, 0.219608, 0.4, 1)
|
|
uv1_triplanar = true
|
|
|
|
[sub_resource type="CylinderMesh" id="CylinderMesh_kp6ag"]
|
|
material = SubResource("StandardMaterial3D_8m0si")
|
|
top_radius = 0.125
|
|
bottom_radius = 0.125
|
|
height = 0.5
|
|
radial_segments = 12
|
|
rings = 1
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_xbfa6"]
|
|
material = SubResource("StandardMaterial3D_8m0si")
|
|
size = Vector3(0.75, 0.05, 0.05)
|
|
|
|
[node name="TestProp" type="CharacterBody3D" node_paths=PackedStringArray("visual", "camera_rig")]
|
|
script = ExtResource("1_et1ab")
|
|
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_kp6ag")
|
|
|
|
[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_xbfa6")
|
|
|
|
[node name="CameraRig" parent="." instance=ExtResource("2_sw44e")]
|