I'm trying to follow your approach to determine the orientation between two points but I don't get correct results. I think the function you referring to is `Cesium.Transform.rotationMatrixFromPositionVelocity`?
I created a Sandcastle example with my code (the blue cone should point to the green 'target' point):
I was able to use the example provided above to correctly orient a cone entity in the ecef reference frame, but my teams project is able to switch between ecef and eci. When switching to eci the cone updates to use the eci coordinates of my two entities, but the orientation is incorrect. Are there adjustments that would need to be made to the logic to use eci coordinates?