How to make actor rotate around another actor at collusion position??
Hello
How would i make an actor rotate around another actor at collusion position? I have two circle actors. A big one and a small one. The big one rotates clockwise (its like a spin to win actor). The other actor is constrained to mouse position. When click it moves towards the big actor. But I can't get the small actor to rotate exactly around the big actor from where it touched. So if hit big actor at 90 degrees it will start rotating around the big actor from 90 degrees.
(Hopefully i can then work out myself how to make it slow down like a spin to win system so where every the small circle is, it is the prize the player gets.)
Any help would be great.
Thanks
123App
How would i make an actor rotate around another actor at collusion position? I have two circle actors. A big one and a small one. The big one rotates clockwise (its like a spin to win actor). The other actor is constrained to mouse position. When click it moves towards the big actor. But I can't get the small actor to rotate exactly around the big actor from where it touched. So if hit big actor at 90 degrees it will start rotating around the big actor from 90 degrees.
(Hopefully i can then work out myself how to make it slow down like a spin to win system so where every the small circle is, it is the prize the player gets.)
Any help would be great.
Thanks
123App
Comments
I sort of get what you are trying to say. There are simple ways to do this such as make a rule when collide with big actor rotate at a certain degree and move relative to actor at a certain and adjust the two to make it work perfectly. (if you get what i mean) The small actor should then move around the actor.
However i also noticed you said you want it to slow down ect. I will try come up with a simple formula where this happens. It may be simple to do but i haven't worked on this type of idea before so i will let you know if i find something.
All the best
JonApp