-
Linking counter to distance
Hello everyone, I’m making a stopping distance demonstration, I have the counter linked up to a null from cinema4d and as the car goes it counts up to the number following the x-position. The issue I’m running into is that we want the number to match when the car is at a certain distance(84.97ft, 104ft and 129.67ft). In the image you can see the cars are at about the same position but the numbers are off. In real life they would be at the same distance. In cinema I set up each car to start at 0 x-position and end at there given number in ft. I’m really stumped on this one. thanks for the help. Thanks to Dan for helping solve the first issue with this.
x=thisComp.layer("Car 104").transform.position[0];
carStart = -30;
carStop = 3169.9199;
numStart = 0;
numStop = 104.00;
ease(x,carStart,carStop,numStart,numStop);


