Hi,
I recently watched Eric Haines’ 3D Graphics course on Udacity. (https://www.udacity.com/course/cs291)
He describes how in three.js, the rotation origin is based on the object’s original centre, and as such it’s important to follow the sequence of Scale, Rotate, Translate (as demonstrated in this video: https://youtu.be/CmgSye6-Ack)
In cesiumjs, is it possible to adjust the point around which the rotation occurs?
For example, consider this gist. I’d like to rotate the cone around its apex, not its midpoint. In three.js, this would involve
-
Translate (move) the cone vertically a distance of height/2. That means the apex is now at the object’s original centre.
-
Rotate the cone by the desired degrees
In cesium, the rotation point of the cone seems to always follow the entity. Is there are way to adjust the rotation origin?
Thank you,
Fidel