31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://dkjdt7uq3a4j3"]
|
|
|
|
[ext_resource type="ArrayMesh" uid="uid://d3u564wle888o" path="res://Models/TestModels/Ness/nesspoly.obj" id="1_jhe4l"]
|
|
[ext_resource type="Script" path="res://Scenes/TestEnemy.cs" id="1_m03um"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_eb41r"]
|
|
radius = 1.0
|
|
height = 3.5
|
|
|
|
[node name="TestEnemy" type="Node3D"]
|
|
script = ExtResource("1_m03um")
|
|
|
|
[node name="RigidBody3D" type="RigidBody3D" parent="."]
|
|
collision_layer = 0
|
|
collision_mask = 2
|
|
gravity_scale = 0.0
|
|
continuous_cd = true
|
|
max_contacts_reported = 10
|
|
contact_monitor = true
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="RigidBody3D"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.51635, 0)
|
|
shape = SubResource("CapsuleShape3D_eb41r")
|
|
|
|
[node name="Nesspoly" type="MeshInstance3D" parent="RigidBody3D"]
|
|
transform = Transform3D(7, 0, 0, 0, 7, 0, 0, 0, 7, 0, 0, 0)
|
|
mesh = ExtResource("1_jhe4l")
|
|
skeleton = NodePath("../..")
|
|
|
|
[connection signal="body_entered" from="RigidBody3D" to="." method="OnHit"]
|