Ajout de enemy model basic af

This commit is contained in:
Victor Turgeon
2022-10-11 13:08:59 -04:00
parent c86244a5b4
commit 30dd714275
16 changed files with 1432 additions and 60 deletions

21
Scenes/Enemy.tscn Normal file
View File

@@ -0,0 +1,21 @@
[gd_scene load_steps=4 format=2]
[ext_resource path="res://BlenderStuff/protoenemy.obj" type="ArrayMesh" id=1]
[sub_resource type="BoxShape" id=1]
[sub_resource type="BoxShape" id=2]
[node name="Enemy" type="KinematicBody"]
[node name="MeshInstance" type="MeshInstance" parent="."]
transform = Transform( 0.6, 0, 0, 0, 0.6, 0, 0, 0, 0.6, 0, 0, 0 )
mesh = ExtResource( 1 )
[node name="BodyCollision" type="CollisionShape" parent="."]
transform = Transform( 0.481304, 0, 0, 0, 0.793226, 0, 0, 0, 0.201743, 0, 0.33586, 0 )
shape = SubResource( 1 )
[node name="Head" type="CollisionShape" parent="."]
transform = Transform( 0.400588, 0, 0, 0, 0.551904, 0, 0, 0, 0.400588, 0, 1.87761, 0 )
shape = SubResource( 2 )