55 lines
1.9 KiB
Text
55 lines
1.9 KiB
Text
[gd_scene load_steps=8 format=3 uid="uid://433rk2i0kijk"]
|
|
|
|
[ext_resource type="Script" path="res://character/Prop.gd" id="1_qa2gm"]
|
|
[ext_resource type="PackedScene" uid="uid://bcd12ht7disho" path="res://character/CameraRig.tscn" id="2_k8i41"]
|
|
|
|
[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_wg7od"]
|
|
albedo_color = Color(0.541176, 0.698039, 0.290196, 1)
|
|
uv1_triplanar = true
|
|
|
|
[sub_resource type="CylinderMesh" id="CylinderMesh_hat7s"]
|
|
material = SubResource("StandardMaterial3D_wg7od")
|
|
top_radius = 0.125
|
|
bottom_radius = 0.125
|
|
height = 0.5
|
|
radial_segments = 12
|
|
rings = 1
|
|
|
|
[sub_resource type="BoxMesh" id="BoxMesh_xbsln"]
|
|
material = SubResource("StandardMaterial3D_wg7od")
|
|
size = Vector3(0.75, 0.05, 0.05)
|
|
|
|
[node name="TestProp" type="CharacterBody3D" node_paths=PackedStringArray("visual")]
|
|
script = ExtResource("1_qa2gm")
|
|
visual = NodePath("MeshInstance3D")
|
|
|
|
[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_hat7s")
|
|
|
|
[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_xbsln")
|
|
|
|
[node name="CameraRig" parent="." instance=ExtResource("2_k8i41")]
|
|
|
|
[node name="SfxJump" type="FmodEventEmitter3D" parent="."]
|
|
event_name = "event:/MISC/SFX_JUMP"
|
|
event_guid = "{b696e38b-172e-4d10-9fec-5f342e220bdc}"
|
|
|
|
[node name="SfxFall" type="FmodEventEmitter3D" parent="."]
|
|
event_name = "event:/MISC/SFX_FALL"
|
|
event_guid = "{66b3c885-0ff6-4465-b851-0406cc397819}"
|