Hi, I have actor class Path with the following code
This causes one new cammel to appear in the middle of the path, if bee is touching the path.
I have several Path objects in my world, everyone with it's own rotation. How can the camels have the same rotation, as the object they are covering, when they appear?
public void add() { Actor bee; bee=getOneIntersectingObject(Bee.class); if(bee!=null) { World world; world=getWorld(); world.addObject(new Camel(), getX(), getY()); } }