sheep attacc
This commit is contained in:
@@ -26,3 +26,5 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.713965, -7.41454)
|
||||
|
||||
[node name="Wolf" parent="." instance=ExtResource("5_iywne")]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -5.11468, 1.36518, -4.14155)
|
||||
|
||||
[connection signal="attack" from="Player" to="Sheep" method="_on_player_attack"]
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
[ext_resource type="ArrayMesh" uid="uid://eqjkgu2h3c5l" path="res://assets/wolf/Wolf.obj" id="1_xsq4n"]
|
||||
|
||||
[sub_resource type="BoxShape3D" id="BoxShape3D_xsq4n"]
|
||||
size = Vector3(1, 1, 1.44244)
|
||||
size = Vector3(0.289169, 1, 1.44244)
|
||||
|
||||
[node name="Wolf" type="CharacterBody3D"]
|
||||
script = ExtResource("1_jrowp")
|
||||
@@ -14,5 +14,5 @@ transform = Transform3D(0.0064462, 0, 0, 0, 0.0064462, 0, 0, 0, 0.0064462, 0, -0
|
||||
mesh = ExtResource("1_xsq4n")
|
||||
|
||||
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0223495, -0.00924683)
|
||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.00136566, -0.0223495, -0.00924683)
|
||||
shape = SubResource("BoxShape3D_xsq4n")
|
||||
|
||||
Reference in New Issue
Block a user