trying to get these obstacle collisions to work