Author Topic: Rotating skybox  (Read 2070 times)

Offline Irony

  • long
  • ***
  • Posts: 151
    • View Profile
Rotating skybox
« on: April 18, 2014, 10:48:41 pm »
Egon, do you think there is any chance that some day you add a function to rotate the skybox?
I've set up the different mission types of my space game with fixed coordinates, so you are always flying against the same background. It would be really nice if I could simulate that the mission paths are different each time, without having to adjust all coordinates for all 13 mission types. There are hundreds of them...
I'm sure there are other uses for this as well, like a rotating background.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Rotating skybox
« Reply #1 on: April 19, 2014, 10:10:12 am »
You should be able to already do this. You can obtain a world instance from the skybox. The first Object3D stored in this instance is the box. If you rotate it, you should the effect that you want.

Offline Irony

  • long
  • ***
  • Posts: 151
    • View Profile
Re: Rotating skybox
« Reply #2 on: April 19, 2014, 12:28:30 pm »
What else can I say but "It works!"
What I've seen from other engine's forums, JPCT might be the only one where this is possible without any hassle.
Thank you for this early easter gift!!