Change players state and controls in-game
- by Samurai Fox
I'm using Unity 3D
Let's say the player is an ice cube. You control it like a normal player. On press of a button, ice transforms (with animation) into water. You control it completely different than the ice cube.
Another great example would be: Player is human being and has normal FPS controls. On press of a button human transforms into birds and now has completely different controls.
Now, my question is, what would be easier and better:
make one object with animation transition and to stay in that state of anim. until button is pressed again
make two object: ice and water. Ice has an animation of turning into water. So replace ice (with animation) with water object
And if anyone knows this one too: how to switch between 2 different types of player controls.