Hi,
I’m new to Unity. My question is …
I have two Character models in the game, they have different bones, textures and animations.
I want to toggle between the two players when I press a key. So that I change the player I am controlling.
QUESTION
How can I change the current Player Character in Unity while running the game, by pressing a key?
Thanks,
Areal
There are probably quite a few ways to do it. I would get the transform coordinates of the first player, then set player1.active = false, then set the other player at those coordinates and make it active.
If that doesn’t work for ya you could try to use one character controller and have multiple avatars(as children) turn active when you want them to. It’s fairly easy to even have them jump to the same position/animation pose as the recent avatar.