2023-10-05 18:02:23 +00:00
|
|
|
[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"]
|
2023-10-28 14:51:33 +00:00
|
|
|
transform = Transform3D(-1, 5.01436e-08, -7.16126e-08, 2.10769e-08, 0.933274, 0.359166, 8.4844e-08, 0.359166, -0.933274, 0, 2.1, -1)
|
|
|
|
far = 150.0
|
2023-10-05 18:02:23 +00:00
|
|
|
|
|
|
|
[node name="RayCast3D" type="RayCast3D" parent="camerapivot/Camera3D"]
|
2023-10-28 14:51:33 +00:00
|
|
|
transform = Transform3D(1, -1.3155e-07, 3.97411e-08, 7.64838e-09, -0.235464, -0.971883, 1.37209e-07, 0.971883, -0.235464, 0, 0.173714, 0.0960218)
|
2023-10-05 18:02:23 +00:00
|
|
|
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")
|