Im trying to figure out how to make my walls work properly right now Im just using actors move-10 when touching but its very flawed obviously, but I just cant figure out how to make it just stop movement from getting through, its in my smooth mover class and this is the Contact code
Ive tried exactY and exactX stuff but It just results into no difference except for the projectiles which use vector
public void Contact(){ if(getOneIntersectingObject(walls.class) != null){ move(-10); } }