This commit is contained in:
karl committed 2020-02-02 10:30:18 +01:00
commit c470d84e2a
3 files changed
+17 -7

No files matched your search

+4 -1
View File
@@ -61,7 +61,7 @@ func _switch_to_fighting(torso):
torso.global_transform.origin = Vector3.ZERO
torso.translation += _body_positions[_body_count]
torso.rotation = Vector3.ZERO
torso.rotation = Vector3(90, 0, 0)
_body_count += 1
if _body_count < InGameState.player_count:
@@ -75,7 +75,10 @@ func _switch_to_fighting(torso):
for body in _bodies:
_fighting_scene.add_child(body)
body.on_ingame()
_fighting_scene.add_child(torso)
torso.on_ingame()
func _switch_to_body_build():