mchrbn / unity-planetarium

C# / Unity class for an accurate (~ -1°/+1°) generation of our universe (stars, planets, moon and the sun) depending on a given location (lat/long) and time.
48 stars 9 forks source link

Calculating Planets Positions #1

Closed ghost closed 6 years ago

ghost commented 6 years ago

Do you think do i calculate every second where it is planets in Unity3D?

mchrbn commented 6 years ago

Depends on the pupose of your app!

If you want to visualise the planets then you can also calculate it every 10sec or higher and then lerp from one position to another. If you want to control an object like a telescope then you should calculate as fast as possible to get the real values.