hello, I need help with Quaternion.Euler to the minus, (I won’t say what I’m trying to do, sorry) how to do it? according to me it shows values in plus 0-360 but not -0 - -360 ,Thank you
private void CheckRotateStartDistance(float distance)
{
if (distance > _RotateStartRequiredDistance)
{
if (!_RotateStartDistanceReached)
{
_RotateStartDistanceReached = true;
komponenta.transform.localRotation = Quaternion.Euler(transform.localRotation.x + Rotation.x, Rotation.y, Rotation.z); // <============= ?????????
}
}
else if (distance < _RotateStartRequiredDistance && _RotateStartDistanceReached)
{
_RotateStartDistanceReached = false;
}
}