Hello, i´m making a fruit ninja style game, to make it easier, i make an object to cut, and i change their animations.
For example a shoe is one animation, a ball is other animation and then i make it change the animation random when it spawns. When you cut the object appear two objects, the two middles of the object cutted but isn´t correspond with the object cutted.
Thats its a example:
Appear randomly three objects, shoe, ball and phone, when you cut a shoe appear two middles of shoes, when you cut a ball appear two middles of phone, etc...
This happens to be random.
My question is how can i make when i cut a phone, make the middle object set animation middle phone and the same with all the objects?
Thanks.
Sorry if the post is not understood, I'm Spanish