First of all sorry for asking a simple and a little bit out of topic questions.
As far as i know there are 3 methods that can be applied to flip a character “sprite”
- first, transform the local rotation to 180 in y-axis to flip horizontally or in x-axis to flip vertically .
- second, transform the local scale in x-axis to flip horizontally ( like what Rick did in the course) or in y-axis to flip vertically.
- third, using boolean flipX to flip horizontally and flipY to flip vertically in SpriteRenderer ( this method not applicable in older version of unity )
my questions are as follows :
-
are there any differences between those methods in term of speed, complexity, condition, or any other aspect ?
-
If there are, in what conditions that we should apply each of the methods above ?
Thank you very much, i am sorry if there are any mistakes in my questions and sorry for my bad english