Ajout de enemy model basic af
This commit is contained in:
21
Scenes/Enemy.tscn
Normal file
21
Scenes/Enemy.tscn
Normal 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 )
|
||||
Reference in New Issue
Block a user