unity reset point of rotation code example
Example 1: how to reset rotation in unity
transform.rotation = Quaternion.identity;
Example 2: how to reset rotation in unity
transform.rotation = Quaternion.Euler(transform.rotation.x, transform.rotation.y, 0);