Hello, I want to always check what is in front of my actor before moving but i dont know how i will use the method getOneObjectAtOffset(int dx, int dy, Class<?> cls) or any other method to achieve that. The main problem is the parameters of the method, because i will have to use change the dx and dy for every change in my rotation and it seems not easy. Pls how can i call the method with the parameters automatically changed with change in my rotation.

