Specifying specific angles of actors rotating around a point.
Hi
I have an actor rotating around another actor using tshirtbooth's Rotate around a specific point or actor.
My question is, is it possible to specify a specific point on the circumference of that circle. ie could I have 2 or more actors rotating around the point but at different angles to the centre point?
Thanks in advance
Chris
I have an actor rotating around another actor using tshirtbooth's Rotate around a specific point or actor.
My question is, is it possible to specify a specific point on the circumference of that circle. ie could I have 2 or more actors rotating around the point but at different angles to the centre point?
Thanks in advance
Chris
Best Answer
-
RThurman Posts: 2,881
You could create multiple actors and give each one a different angle. To get an angle that is 90 degrees offset from the original actor, modify the formulas like this:
100*cos( self.Time *100%360 +90)+game.sunX
Answers
And you can change the 100 on the formula to adjust the distance to the object.