- Home /
Change players state and controls in-game
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.
Answer by getyour411 · May 27, 2014 at 11:01 PM
2 - only need one animation (transformation); just play it in reverse. I suspect you'll find various reasons to have two distinct objects.
Sorry, but I do not completely understand your answer. Is it number 1 or 2? Because you wrote number 2 but speak about number 1.
Your answer
![](https://koobas.hobune.stream/wayback/20220613150041im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Camera and Controls 4 Answers
Camera following the player in 3D - in object hirarchy or through scripts? 1 Answer
SideScroller Rotate 1 Answer
Camera Follow Player using a path 0 Answers
Player Rotation is snapping 1 Answer