31 lines
1.3 KiB
Text
31 lines
1.3 KiB
Text
[gd_scene load_steps=5 format=3 uid="uid://cpatp465vxkqx"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://x2deg4hgjdm3" path="res://assets/creatures/raference/raference.tscn" id="1_b43dc"]
|
|
[ext_resource type="Script" path="res://assets/creatures/controller.gd" id="1_bs1d8"]
|
|
[ext_resource type="Script" path="res://assets/creatures/CameraController.gd" id="3_wtugi"]
|
|
|
|
[sub_resource type="CylinderShape3D" id="CylinderShape3D_slb5i"]
|
|
height = 1.7
|
|
radius = 0.25
|
|
|
|
[node name="CreatureRaference" type="CharacterBody3D"]
|
|
script = ExtResource("1_bs1d8")
|
|
|
|
[node name="visuals" type="Marker3D" parent="."]
|
|
|
|
[node name="raference" parent="visuals" instance=ExtResource("1_b43dc")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.03, 0)
|
|
|
|
[node name="camerapivot" type="Marker3D" parent="."]
|
|
script = ExtResource("3_wtugi")
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="camerapivot"]
|
|
transform = Transform3D(-1, 5.01436e-08, -7.16126e-08, 9.24136e-09, 0.875195, 0.483771, 8.6933e-08, 0.483771, -0.875195, -0.04, 2, -1.04944)
|
|
|
|
[node name="RayCast3D" type="RayCast3D" parent="camerapivot/Camera3D"]
|
|
hit_from_inside = true
|
|
collide_with_areas = true
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.85, 0)
|
|
shape = SubResource("CylinderShape3D_slb5i")
|