Rotation of actor in opposite direction?
TitanFury
Member Posts: 55
Hello
How do I make an actor rotate clockwise rather than counterclockwise?
I'm new to GameSalad and I'm sure there must be a very simple solution, I just can't figure it out
Cheers!
Comments
Are you using the windows creator, or mac?
On the windows version, there is a dropdown in the Rotate behavior that lets you pick either clockwise or counter-clockwise.
Mathtap.com (Android) | Fridgemanager.com (Android) | Breakoutofspace.com (Android)
I'm using Mac
In particular, I'm working with the Rotate to Angle behaviour.
Use a value higher than 180°.
I want the actor to rotate 20 degrees clockwise, so I did what you said and set it to 340. The actor just rotates 340 degrees in the counterclockwise direction.
What is your starting self.Rotation? If it's 0, it should just rotate from 0 (aka 360) to 340 which is 20 degrees.
Demo attached.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
Adding that 0.8 second timer worked! Thank you all for helping out.
Interesting... I only put that timer in because the preview was too quick to see the results. It actually works with or without the timer.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User