Computing Entity Heading from Orientation when entity is using VelocityOrientationProperty

1. A concise explanation of the problem you’re experiencing.

Anyone can explain how to Compute Entity Heading from Orientation when entity is using VelocityOrientationProperty (i.e. no quaternion present)

Rendering will stop and Cesium will crash when an entity with VelocityOrientationProperty stops moving i.e. Stationary but still present and available in cesium

2. A minimal code example. If you’ve found a bug, this helps us reproduce and repair it.

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

I need to compute headings of all entity moving or stationary on my cesium map.

Thanks in advance

4. The Cesium version you’re using, your operating system and browser.

current cesium version is 1.52

Browser : Chrome (running in application mode)

OS: Windows 10

This might be a bug. Can you post a link to a Sandcastle example (https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/) that recreates this crash? I wasn’t able to reproduce it.