update visual, add stones collision
This commit is contained in:
+2
-5
@@ -1,14 +1,12 @@
|
||||
[gd_scene format=3 uid="uid://cxk2mn5oab341"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://ujlvt8u71hg1" path="res://scripts/Enemy.gd" id="1_enemy"]
|
||||
[ext_resource type="ArrayMesh" uid="uid://dw74ofxlfq4tq" path="res://assets/gnome.obj" id="2_55jtl"]
|
||||
|
||||
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_1"]
|
||||
albedo_color = Color(1, 0.28, 0.18, 1)
|
||||
roughness = 0.8
|
||||
|
||||
[sub_resource type="BoxMesh" id="BoxMesh_1"]
|
||||
size = Vector3(0.85, 0.85, 0.85)
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_1"]
|
||||
size = Vector3(0.85, 0.85, 0.85)
|
||||
|
||||
@@ -16,9 +14,8 @@ size = Vector3(0.85, 0.85, 0.85)
|
||||
script = ExtResource("1_enemy")
|
||||
|
||||
[node name="BodyMesh" type="MeshInstance3D" parent="." unique_id=68242945]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.425, 0)
|
||||
material_override = SubResource("StandardMaterial3D_1")
|
||||
mesh = SubResource("BoxMesh_1")
|
||||
mesh = ExtResource("2_55jtl")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=379819225]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.425, 0)
|
||||
|
||||
Reference in New Issue
Block a user