- Home /
animation mirror is it possible?
I know of in unity to play an animations backwards, but is it possible to have the animation mirror itself
so if i wanted a character who has a right rotate animation,the mirror effect would allow the character to rotate left
please note: i do not need the rotation code, just animation mirror, the above is just a scenario
Answer by theUndeadEmo · May 08, 2012 at 01:41 AM
K figured it out
transform.localScale = new Vector3(-1f,1f,1f); //(c# code)
problems that arise are
mesh flips aswell, so if you got an object on the left leg it will flip to the right
if you flip the bones the mesh will deform or flip with your object so u back to the problem just above
this will only work if the character or object has symmetry (identicle on both sides)
I am not sure it is a good idea to do that. You essentially turn the mesh inside out. Don't know about Unity, but a general rule when creating 3D assets is: 'Never scale anything that is meant to be animated. Ever.'
One problem is that children animate in the local transform of the parent, and if the parent has been scaled, the children will deform badly when they are animated and generally don't behave as expected.
Answer by rasheedqw · Aug 13, 2013 at 02:12 AM
i dont know it this too old to be of use but the animator has a simple mirror button the flip the animation
Answer by restradal · May 09, 2012 at 11:22 PM
you have the same problem than i do, the cuestion is simple, how can we flip an animation? is there a way to do it of course out of code?
Answer by restradal · May 09, 2012 at 11:22 PM
i have the same problem than you, can i flip an animation?
Your answer
Follow this Question
Related Questions
Mecanim mirror mode is doing...things. 0 Answers
Avatars open their mouth when mirroring animation 1 Answer
How can I mirror 2d animation 2 Answers
Make mechanim slash with right arm 0 Answers
Can the animation editor create local rotational data? 3 Answers