PillTaker is now a spacial (due to its child need a position)

This commit is contained in:
SyntaX 2019-11-21 11:28:48 +01:00
parent 41e2d5b096
commit 4c683444dd
2 changed files with 2 additions and 9 deletions

View File

@ -1,12 +1,5 @@
extends Node extends Spatial
# Declare member variables here. Examples:
# var a = 2
# var b = "text"
# Called when the node enters the scene tree for the first time.
func _ready():
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame. # Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta): func _process(delta):

View File

@ -92,7 +92,7 @@ pitch_scale = 1.5
[node name="HUD" parent="." instance=ExtResource( 4 )] [node name="HUD" parent="." instance=ExtResource( 4 )]
[node name="PillTaker" type="Node" parent="."] [node name="PillTaker" type="Spatial" parent="."]
script = ExtResource( 5 ) script = ExtResource( 5 )
[node name="Pill" type="Spatial" parent="PillTaker"] [node name="Pill" type="Spatial" parent="PillTaker"]