(so setting its key frame to 90 will rotate it by 90 degrees).
However - you cannot use animations while rotating like this.
SetUnitAnimationByIndex(u, 180) // model is upside down
SetUnitAnimationByIndex(u, 90) // model is facing straight up
Will it flip the body?No, that will not let you make the unit do flips.