-
Can Parented Camera “know” it is OFF?
I have this camera nicely moving over a 3d surface between points, using Dan_E’s expression mainly.
Is there any trick to use the rotation to “fix” the angle back to a safe margin?
I know the way to to this is by figuring the distance between the camera’s position and point of interest
and then using the angle to the ground as a bar.


Help is appreciated ;
Thanks;
Shai
Dan Ebbert’s Expressions:moveTime = 1.0;
stopTime = 0.2;
numberOfLayers = 11;
segDur = moveTime+stopTime;
idx = Math.floor(time/segDur)+1;
phase = time%segDur;
if (idx < numberOfLayers){
P1 = thisComp.layer(idx).transform.position;
P2 = thisComp.layer(idx+1).transform.position;ease(phase,0,moveTime,P1,P2);
}else{
thisComp.layer(numberOfLayers).transform.position;
}