[gd_scene load_steps=5 format=3 uid="uid://b38hcomu4tpm5"] [ext_resource type="Script" path="res://Scripts/TestCharacter.cs" id="1_hddqi"] [ext_resource type="PackedScene" uid="uid://yosw0j58nvrf" path="res://Models/Characters/fwitch.gltf" id="4_n3637"] [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_ayco3"] radius = 0.980738 height = 3.77708 [sub_resource type="CapsuleShape3D" id="CapsuleShape3D_fqik1"] radius = 0.704872 height = 1.67894 [node name="Character" type="CharacterBody3D"] script = ExtResource("1_hddqi") [node name="Pivot" type="Node3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0) [node name="fwitch" parent="Pivot" instance=ExtResource("4_n3637")] [node name="Area3D" type="Area3D" parent="Pivot"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.75657e-15, 0, 0) collision_layer = 0 collision_mask = 4 [node name="CollisionShape3D" type="CollisionShape3D" parent="Pivot/Area3D"] transform = Transform3D(0.999665, -0.0258978, -7.10543e-15, 0.0258978, 0.999665, 0, 0, 0, 1, -0.0242356, 2.05297, -0.302385) shape = SubResource("CapsuleShape3D_ayco3") [node name="CollisionShape3D" type="CollisionShape3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2.06805, -0.211049) shape = SubResource("CapsuleShape3D_fqik1") [connection signal="body_entered" from="Pivot/Area3D" to="." method="OnHit"]