Rotating skybox

Started by Irony, April 18, 2014, 10:48:41 PM

Previous topic - Next topic

Irony

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.

EgonOlsen

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.

Irony

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!!