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
Using interpolate causes the engine not to detect collisions. If you're looking for that smooth movement that interpolate provides, you could look into using motion linear velocity instead.
@Braydon_SFX Right now I have (If dash is true interpolate self position x to self position x +45 in 0.1sec) Could you explain how to set that up using motion linear velocity instead. Thanks!
@8bitninja - try this:
@Braydon_SFX cool, thanks, bud!