Rotation Question...
I have an actor that I want to rotate clockwise 180 degrees when touched and then counter clockwise 180 degrees when touched again.
I have a boolean self attribute for the touched setting and that works fine. My issue is getting the actor to rotate correctly. I've tried interpolating:
self.rotation 180 and self.rotation -180
and
self.rotation 180 and self.rotation 0
The actor keeps moving clockwise though and seemingly different speeds.
Any advise?
Thanks.
Rich
I have a boolean self attribute for the touched setting and that works fine. My issue is getting the actor to rotate correctly. I've tried interpolating:
self.rotation 180 and self.rotation -180
and
self.rotation 180 and self.rotation 0
The actor keeps moving clockwise though and seemingly different speeds.
Any advise?
Thanks.
Rich
Answers