I want to rotate the model to match the GPX log

Hi.
I would like to rotate the model to match the GPX log.
I currently have a program that displays the model according to the GPS log, but I don’t know how to rotate the model along the trajectory.
I have attached the code. If anyone has any ideas, please let me know.

    const pinBuilder = new Cesium.PinBuilder();
  
    Cesium.Ion.defaultAccessToken = 'key';
  
    const viewer = new Cesium.Viewer("cesium", {
    terrainProvider: new Cesium.CesiumTerrainProvider({
        url: Cesium.IonResource.fromAssetId(1),       
    }),
    baseLayerPicker: true,
    geocoder: false,
    homeButton: false,
    shouldAnimate: true,
  });

  let activeDataSource;

  viewer.dataSources.add(Cesium.GpxDataSource.load(`https://sorarogu-sns.s3.ap-northeast-1.amazonaws.com/${result}.gpx`,{
    waypointImage: pinBuilder.fromUrl(
      "URL",
      Cesium.Color.BLUE,
      48
  )}
))
  .then(function (dataSource) {
    viewer.flyTo(dataSource);
    activeDataSource = dataSource;
      const entity = activeDataSource.entities._entities._array[0]; 
      const entity_01 = viewer.entities.add({
        position: entity.position,
        model: {
          uri: "../model/model.glb",
          minimumPixelSize: 70,
          maximumScale: 50,
        },
    });
    viewer.trackedEntity = entity_01;
  });

Hello there,

I think you’ll want to use a VelocityOrientationProperty, as demonstrated in this example.