Files
Shrender-Man/shrek.tscn
2026-03-02 02:17:04 +00:00

48 lines
1.8 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://cui653hnjqkkk"]
[ext_resource type="Script" uid="uid://2vdjcn57pcpp" path="res://shrek.gd" id="1_lfdf4"]
[ext_resource type="PackedScene" uid="uid://b1jphtwdw13kj" path="res://shrek/shrek_from_shrek_2_the_video_games_gamecube.glb" id="1_o5oe2"]
[ext_resource type="PackedScene" uid="uid://o4yjk7o8fcxt" path="res://shrek/siren head/siren_head.glb" id="3_rfeht"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_61d2b"]
[node name="shrek" type="CharacterBody3D"]
collision_layer = 4
collision_mask = 4
floor_max_angle = 3.14159
script = ExtResource("1_lfdf4")
[node name="shrek_model" parent="." instance=ExtResource("1_o5oe2")]
transform = Transform3D(5, 0, 0, 0, 5, 0, 0, 0, 5, 0, 0, 0)
[node name="siren_head_model" parent="." instance=ExtResource("3_rfeht")]
visible = false
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(2.5, 0, 0, 0, 2.5, 0, 0, 0, 2.5, 0, 2.5, 0)
shape = SubResource("CapsuleShape3D_61d2b")
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."]
max_distance = 40.0
doppler_tracking = 2
[node name="eyes" type="Node3D" parent="."]
[node name="SpotLight3D2" type="SpotLight3D" parent="eyes"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.17, 3.407, 0.86)
light_color = Color(1, 0, 0, 1)
spot_range = 0.2
[node name="SpotLight3D" type="SpotLight3D" parent="eyes"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.16, 3.407, 0.85)
light_color = Color(1, 0, 0, 1)
spot_range = 0.2
[node name="Area3D" type="Area3D" parent="."]
[node name="CollisionShape3D" type="CollisionShape3D" parent="Area3D"]
transform = Transform3D(2.5, 0, 0, 0, 2.5, 0, 0, 0, 2.5, 0, 2.5, 0)
shape = SubResource("CapsuleShape3D_61d2b")
[connection signal="body_entered" from="Area3D" to="." method="_on_area_3d_body_entered"]