30 lines
985 B
Plaintext
30 lines
985 B
Plaintext
[gd_scene format=3 uid="uid://matador_scene_v1"]
|
|
|
|
[ext_resource type="Script" path="res://matador.gd" id="1_matgd"]
|
|
[ext_resource type="PackedScene" uid="uid://ch5fiscgxfmpc" path="res://Blender/matador.glb" id="2_matfbx"]
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_body"]
|
|
radius = 0.25
|
|
height = 1.2
|
|
|
|
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_hit"]
|
|
radius = 0.45
|
|
height = 1.4
|
|
|
|
[node name="Matador" type="CharacterBody3D"]
|
|
script = ExtResource("1_matgd")
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.85, 0)
|
|
shape = SubResource("CapsuleShape3D_body")
|
|
|
|
[node name="HitArea" type="Area3D" parent="."]
|
|
monitoring = true
|
|
monitorable = false
|
|
|
|
[node name="CollisionShape3D" type="CollisionShape3D" parent="HitArea"]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.85, 0)
|
|
shape = SubResource("CapsuleShape3D_hit")
|
|
|
|
[node name="matador2" parent="." instance=ExtResource("2_matfbx")]
|