-
Use markers to change camera POI with easing
I’ve been toying around with triggering the camera to look at different objects in space when a marker cues it to do so.
I’ve succeeded at getting the POI to change with the marker by giving the marker comment and the layer the same name. This allowed the expression to retrieve a position for the POI to recognize.
Now I’m trying to get eased interpolation from one point to the next. My logic for this effect is getting a time value between the current marker and the upcoming marker. Then use the difference between the current time and the upcoming markers time to create a percentage of progress between the markers.
markerOne.time – MarkerTwo.time = x
markerTwo.time – current.time = y
y / x = %This would allow me to have values for an interpolation expression. (%,psoition1,position2)… Right?
I can’t get my code to fit this logic. Could someone tell me if the logic is wrong or what code it takes to achieve this interpolation.