Orientation problem at the end path VelocityOrientationProperty

That callback method looks like a good idea
Should Cesium.ExtrapolationType.HOLD consider last known orientation?
I didn’t know know about the orientation.getValue(time) function. If it works that seems the way to go. I don’t see why it would be a problem for however many vehicles there are. It has to calculate the new orientation anyways, all it’s doing in addition is saving the value if defined. I wonder if the function has to be encapsulated in the callback function, can orientation just be set to an anonymous function directly?