Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Set State to last frame of animation / Save position of animation?

$
0
0
Hey there!

I've got some questions regarding the Mecanim-Animation System.

So this is my basic setup:

I've got my character on the left and a Sprite (2D Toolkit) on the right. It's got a Trigger on it, when the character enters the trigger the Tree-Sprite is going to fall down to the right.
I accomplish that with an animation of the tree.

The animator has two States:
1) Idle
2) FallDown

While in Idle nothing happens. A Script attached to the Sprite-Objects checks if the Trigger is entered,...

Set State to last frame of animation / Save position of animation?

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>