http://dl.dropbox.com/u/9762772/Rotation%20Example.cap
Can't remember what ver. of Construct I have.
First post
Anyways, I'm trying to make a rotation that will smoothly rotate
towards an angle. By "smoothly", I mean that it will rotate towards
an angle, then decelerate the more it comes closer to matching that
specified angle.
So I got something working. I use two objects, one always points
towards the specified angle(The mouse position), and Object 2
will rotate to match Object 1.
I get the speed at which Object 2 will rotate by taking the 2 separate angles
and getting the difference between the two, scale that difference
towards a reasonable "speed" that I want it to rotate at, and then
incorporate that "speed" into an event.
The problem with this is that the Object 2 will suddenly accelerate
once Object 1 hits 360� and snaps back to 0�, then return to a normal
speed after it also crosses that snap.
So, is there a way to fix this, or is there an easier way to
get the kind of rotation I want?
Been wrapping my brain around this for a while, but I can't come up with anything.
Cap is a little messy, but I hope it isn't unreadable.
Thanks for reading!
EDIT: Typos.