I am making a puzzle map in which I want characters to push and pull objects into position, like in the Legend of Zelda series. I have put together a basic Effect - Target ability that causes the caster to "pull" the object backwards by using force effects to pull the object towards the caster and push the caster away from the object. This part works.
The problem is that I want the units to stop moving when the caster runs into a cliff or building. Instead what happens is the units simply "slide" along the cliff edge until the force persistent expires.
I have tried using a 2nd Create Persistent effect that has one periodic offset - (0, 1) and a period effect of a dummy search. The periodic validator is set to a custom "location pathable" validator. Unfortunately this setup does not seem to have any noticeable effect.
I don't really have any idea what I'm doing wrong or how to begin fixing this.