-
Simulate chasing over a terrain
I’ve got a pointer that stays in the center of a comp, and a shape that wiggles around within the bounds of the comp. The pointer is always looking at the wiggling shape using this expression:
target = thisComp.layer("Target");
delta = thisLayer.toComp([0,0]) - target.toComp([0,0]);
radiansToDegrees(Math.atan2(delta[1],delta[0])) + valueWhat I’d like to do next, is have a texture underneath moving in the opposite direction to the pointer to simulate the pointer ‘chasing’ the shape around a terrain. Ideally involving change in speed too. I’m not sure where to start with it though, any help would be much appreciated. Cheers.