Noob question. So I have an object with y rotation at 0. I'm having it rotate so if I press A, the localEulerAngles.y changes to 15. And when I press D the rotation should change to -15 which is 345.. I was wondering how to achieve this so that the object doesn't go all around on the positive direction,but rather go from 0 to -15.. I'm writing this in csharp using vector3.lerp.. Any help is appreciated
put a - where you need, i dont quite understand the question, you want to keep the -15 value? if so you can check if the rotation is above 180, to reduce that value on 360 to make your scale rotation from 180 to 0 to -180, hope this help or give other description
– poncho