This commit is contained in:
parent
fb915405d6
commit
7296881f17
|
@ -4,7 +4,6 @@ class_name SharedSlime
|
||||||
var is_holdable: bool = true
|
var is_holdable: bool = true
|
||||||
|
|
||||||
func _ready():
|
func _ready():
|
||||||
$slime.foo()
|
|
||||||
$slime.idle()
|
$slime.idle()
|
||||||
|
|
||||||
func walk():
|
func walk():
|
||||||
|
|
|
@ -10,6 +10,7 @@ radius = 0.05
|
||||||
script = ExtResource("1_gmj2r")
|
script = ExtResource("1_gmj2r")
|
||||||
|
|
||||||
[node name="slime" parent="." instance=ExtResource("2_6u4ex")]
|
[node name="slime" parent="." instance=ExtResource("2_6u4ex")]
|
||||||
|
transform = Transform3D(0.035, 0, 0, 0, 0.035, 0, 0, 0, 0.035, 0, 0, 0)
|
||||||
|
|
||||||
[node name="slime_collision" type="CollisionShape3D" parent="."]
|
[node name="slime_collision" type="CollisionShape3D" parent="."]
|
||||||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0408143, 0)
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.0408143, 0)
|
||||||
|
|
|
@ -10,6 +10,3 @@ spin_chance = 0.2
|
||||||
walk_speed = 0.5
|
walk_speed = 0.5
|
||||||
dir_correction_rate = 0.95
|
dir_correction_rate = 0.95
|
||||||
dir_accuracy = 0.00174533
|
dir_accuracy = 0.00174533
|
||||||
|
|
||||||
[node name="slime" parent="." index="0"]
|
|
||||||
transform = Transform3D(0.035, 0, 0, 0, 0.035, 0, 0, 0, 0.035, 0, 0, 0)
|
|
||||||
|
|
Loading…
Reference in New Issue