Moving 3d Object from point A to B with velocity relative to ground speed

Hi @Marco13

It is starting to make sense to me now. I’m making some good progress.
One last hurdle to cross. Can you tell me how to make the aircraft model roll automatically based on the next point? Please refer to this image.

I’m using,

orientation: new Cesium.VelocityOrientationProperty(positionProperty),

which gives me the correct heading, and pitch but the aircraft does not roll based on the next heading/coordinates in the positionProperty.

I came across this. I don’t want to set the HPR manually. It should be based on the next position.

var modelMatrix = Cesium.Transforms.headingPitchRollToFixedFrame(origin, heading, pitch, roll);

var model = scene.primitives.add(Cesium.Model.fromGltf({

url : ‘path/to/model’,

modelMatrix : modelMatrix

}));

Thank you once again for the detailed explanation and guidance. Though the tutorials are limited, the community support here is just awesome!