Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (ruchgora > 0)
- {
- transform.rotation= new Quaternion(0,0,0,0);
- }
- if (ruchgora < 0)
- {
- transform.rotation = new Quaternion(0,0,180,0);
- }
- if (ruchbok > 0)
- {
- transform.rotation = new Quaternion(0,0,90,0);
- }
- if (ruchbok < 0 )
- {
- transform.rotation = new Quaternion(0,0,270,0);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement