My reason for asking is that my movement system works well, but if you get snug up against (for example) the EAST side of a dense object and try to go NORTH or SOUTH, it won't let you because it still sees that dense object in your obounds(). I want to be able to tell the code to say "Is this object that they can't enter any closer after they step? Oh, it isn't? Okay, let them move.".
For whatever purpose it may serve, I'll post what little progress I have on this.
mob
can_move()
. = TRUE
if(velocity_x != 0 || velocity_y != 0)
for(var/atom/a in obounds(src, velocity_x, velocity_y))
if(a.elevation > src.elevation)
. = FALSE
"Is this object that they can't enter any closer after they step? Oh, it isn't? Okay, let them move." Do you want it to tell if they are close to each other (too close?) then determine if they should move? If yes, there are many simpler workarounds.