Truck pulling trailer - fake and easy set up predicament
I often have to setup traffic in architectural scenes.
Cars rides a path and this all works well. The problem arises when I need to add lorries/trucks to the same paths. This is due to length of the vehicles and link between the truck and the trailer it pulls.
There a several ways to solve this problem, the use of a look at constraint or the use of physics are two of them, But I have an Idea for a much more simple setup. but I don’t know to script it.
In my example I have linked the trailer to the truck and made sure that it doesn’t inherit rotations directly, because I what to control the rotation myself. The exact same link could be made with a position constrain.
Next I want the trailer to give the impression that its being pulled by the truck. And this is the core of problem: I need the trailer to inherit the trucks rotation but with a delay.
Put simple: the ability to link objects with a delay
Please see the max file (max2010) I have provided to demonstrate how this preferably should work.
A manual delay input (in frames or time) is great and very much appreciated,,, but if the trailer could take the speed of the truck into the equation and there by determine the delay itself, then it would be awesome
Thank you very much for any help in advance