How to make an actor move in a circle around another one?

PiggyTheAstro

  • Posts: 21
Title, this is what I use right now to make the actor move in a circle:

http://prntscr.com/nj55xz

http://prntscr.com/nj56fd

But I have yet to find out how to make the actor orbit another without the circle pattern being disrupted.

colburt187

  • *
  • Posts: 2416
In the stencyl pre made behaviours there is a rotate around actor behaviour, you could have a look at the code in there and see if it does what you want.

1968

  • Posts: 103
Hi!
The easiest way is to make actors with one center ...
Here is an example.
http://www.stencyl.com/game/play/39386