Cleanup
This commit is contained in:
@ -30,6 +30,7 @@ func _ready():
|
||||
foot.attachment.bone_name = foot_name
|
||||
foot.attachment.bone_idx = foot.bone_id
|
||||
foot.audio.reparent(foot.attachment)
|
||||
foot.audio.position = Vector3.ZERO
|
||||
skeleton.add_child(foot.attachment)
|
||||
feet.append(foot)
|
||||
|
||||
@ -62,7 +63,7 @@ func _process(delta: float):
|
||||
|
||||
play(foot.audio)
|
||||
|
||||
func _physics_process(_delta):
|
||||
func _physics_process(_delta: float):
|
||||
var space_state = get_world_3d().direct_space_state
|
||||
|
||||
for foot in feet:
|
||||
|
Reference in New Issue
Block a user