Hi, I have this Actor in a circle movement. How can I put another class moving in a circle movement aroud this class? Thanks
public class Terra extends Actor
{
private int angle = 0;
public void act()
{
setLocation(getWorld().getWidth()/2, getWorld().getHeight()/2); // set center
setRotation(angle+1); // set new angle
angle = getRotation(); // save new angle
move(100); // move from center along radius to circle
setRotation(0); // fix rotation
}
}
