could anyone show me if there is a way to test if two objects are touching in a world class?
thanks
if (isTouching(B.class))
{
//do something
}public boolean touchingB()
{
return isTouching(B.class);
}Actor a = (Actor) getObjects(A.class).get(0);
if (a != null)
{
if (a.touchingB())
{
//do something
}
}