abhijitnandy2011 / Age-of-Steam

A WebGL based train simulation
MIT License
0 stars 0 forks source link

Create a SimBox within the GameWorld #9

Open abhijitnandy2011 opened 8 years ago

abhijitnandy2011 commented 8 years ago

The SimBox keeps moving within the GameWorld whenever the focussed train reaches near the edge. The world outside the SimBox is unloaded. Whenever the SimBox moves, the Babylon co-ordinates of all objects translate to new co-ordinates based on the new origin of the SimBox within the GameWorld