|
|
@ -61,7 +61,7 @@ func _switch_to_fighting(torso): |
|
|
|
|
|
|
|
torso.global_transform.origin = Vector3.ZERO |
|
|
|
torso.translation += Vector3(0, 4, 0) |
|
|
|
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(): |
|
|
|