4myGod
01-22-2011, 05:02 AM
I have an object, the center of the object I believe is the rotation point. When I click transform and edit the rotation properties on the right side to like 55 degrees then it works, it rotates from the point it's suppose to and looks great.
The problem is when I use AS .rotation on the object, I have no idea where it's rotating from and it's going all over the freaking place. I assumed it would rotate from the same rotation point as the transform tool rotates the object from. I also assumed 0-360 was the options for rotation.
What am I doing wrong? from the looks of it's odd rotation I can't even tell where it's centering.
I'm using this to test it right now, which is run on every frame:
ticker.rotation += 1;
The problem is when I use AS .rotation on the object, I have no idea where it's rotating from and it's going all over the freaking place. I assumed it would rotate from the same rotation point as the transform tool rotates the object from. I also assumed 0-360 was the options for rotation.
What am I doing wrong? from the looks of it's odd rotation I can't even tell where it's centering.
I'm using this to test it right now, which is run on every frame:
ticker.rotation += 1;