58 lines
2.2 KiB
Plaintext
58 lines
2.2 KiB
Plaintext
[gd_scene format=3 uid="uid://crtm0xtiql3r8"]
|
|
|
|
[ext_resource type="Script" uid="uid://bn777gguclud5" path="res://player.gd" id="1_xhfnw"]
|
|
[ext_resource type="Script" uid="uid://b4td4k8yo5y78" path="res://camera_spring_arm.gd" id="2_kpjcp"]
|
|
[ext_resource type="Script" uid="uid://b720l6m0ehrj3" path="res://camera_follow.gd" id="3_kne1u"]
|
|
[ext_resource type="PackedScene" uid="uid://qy6qrxdfgx2g" path="res://Assets/bull_v10.fbx" id="4_e80uo"]
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_kne1u"]
|
|
radius = 0.5
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_chest"]
|
|
radius = 0.35
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_belly"]
|
|
radius = 0.40
|
|
|
|
[sub_resource type="SphereShape3D" id="SphereShape3D_hips"]
|
|
radius = 0.30
|
|
|
|
[node name="Player" type="CharacterBody3D" unique_id=165510044]
|
|
collision_layer = 3
|
|
script = ExtResource("1_xhfnw")
|
|
|
|
[node name="CollisionChest" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.505, -0.2)
|
|
shape = SubResource("SphereShape3D_chest")
|
|
|
|
[node name="CollisionBelly" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.505, 0.1)
|
|
shape = SubResource("SphereShape3D_belly")
|
|
|
|
[node name="CollisionHips" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.505, 0.4)
|
|
shape = SubResource("SphereShape3D_hips")
|
|
|
|
[node name="SpringArmPivot" type="Node3D" parent="." unique_id=1671817680]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.22, 0)
|
|
script = ExtResource("2_kpjcp")
|
|
|
|
[node name="SpringArm3D" type="SpringArm3D" parent="SpringArmPivot" unique_id=141439848]
|
|
collision_mask = 3
|
|
shape = SubResource("SphereShape3D_kne1u")
|
|
spring_length = 7.0
|
|
margin = 0.5
|
|
|
|
[node name="SpringPosition" type="Node3D" parent="SpringArmPivot/SpringArm3D" unique_id=1307131677]
|
|
|
|
[node name="Camera3D" type="Camera3D" parent="SpringArmPivot" unique_id=1120161087 node_paths=PackedStringArray("spring_arm")]
|
|
keep_aspect = 0
|
|
script = ExtResource("3_kne1u")
|
|
spring_arm = NodePath("../SpringArm3D/SpringPosition")
|
|
lerp_power = 6.0
|
|
|
|
[node name="bull_v10" parent="." unique_id=1386495166 instance=ExtResource("4_e80uo")]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.655, 0.23)
|
|
|
|
[editable path="bull_v10"]
|