Change players state and controls in-game

Posted by Samurai Fox on Game Development See other posts from Game Development or by Samurai Fox
Published on 2014-05-28T09:32:31Z Indexed on 2014/05/28 10:09 UTC
Read the original article Hit count: 263

Filed under:
|
|
|
|

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:

  1. make one object with animation transition and to stay in that state of anim. until button is pressed again
  2. 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.

© Game Development or respective owner

Related posts about unity

Related posts about camera