Changed the rotations in loading screen and ingame. First implementation for rolly tolly toy.
This commit is contained in:
1 parent
00ac3cb984
commit
ba8689916b
4 files changed
+18
-8
No files matched your search
@@ -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():
|
||||
|
||||
Reference in new issue
Block a user