Hi everyone,
I’m trying to recreate a behavior similar to Google Earth in Cesium for Unreal. In Google Earth, the sun remains fixed in world space (as if it’s far away and stationary), and the Earth rotates underneath it to simulate the passage of time (day/night cycle).
By default, CesiumSunSky
updates the sun direction over time using the UpdateSun()
method. However, what I want instead is:
Keep the sun’s direction constant in the sky (don’t update its azimuth/elevation).
Rotate the Earth (or camera around the Earth) to simulate time passing, like in Google Earth.
I’ve disabled sun updates and set a constant SolarTime
, but I’m unsure of the best way to simulate the Earth’s rotation:
- Should I rotate the
CesiumGeoreference
Actor? - Or rotate the camera around a fixed point?
- Are there side effects I should consider when rotating the georeference?
Any best practices, example Blueprints, or other tips would be greatly appreciated!
Thanks in advance.