Interpolate through wall actor.

My actor does a dash attack move that using a interpolate behavior. The problem is when I use the dash attach too close to a wall, my actor dashes (interpolates) through the wall. My only solution so far is to have conditions in the dash behavior such as (if self position x is less than a position close to the wall then do not allow dash move) This method works but I was just wondering if someone might have a better solution. Thanks!

Comments

Sign In or Register to comment.