I’ve got a bunch of entities that we’ve semi-randomly generated position paths using a SampledPositionProperty.
While the viewer is playing, I’d like to query the velocity of each entity so I can display in a table. I cannot seem to find a way to do this. Looking for an example.
You could use a velocity vector property, which will automatically compute the velocity from taking samples: https://cesiumjs.org/Cesium/Build/Documentation/VelocityVectorProperty.html
This time dynamic wheels example uses it to compute the vehicle’s speed and display it as a label: