Improved performance

This commit is contained in:
2024-02-26 23:50:56 +01:00
parent afab83a35f
commit 885459f5d3
12 changed files with 45 additions and 13 deletions

View File

@ -14,6 +14,10 @@ var feet: Array[Foot] = []
var ik_time: float
func _ready():
if owner != Global.player:
queue_free()
return
for foot_name in feet_names:
var foot = Foot.new()
foot.bone_name = foot_name