Space flight proof of concept
Posted on 2017-05-22 in unity3d
This is a proof of concept spaceflight test made in unity 3d.
Planets are modeled to scale. Meaning earth has 6500 kilometer radius, moves at 30 km/s speed, etc. The forces are computed based on newton's formulas of gravity, meaning moon/earth/sun affect each other. Planets orbit each other based on forces computed.
The idea was to test multi-camera appraoch in large scale scenes that use double precision coordinates. Unity uses single precision floating point calculations for objects, so normally you're restricted to something around +- 10 km box. This test uses double precision coordinates, meanign you should be able to within solar-system sized volume.
I might upload the code later at some point.