Rotating Skybox Issues?
Using version 5.3.1f1 Edu, C#, 3D game.
Creating a trippy, drug themed game. For the skybox, how would I get each side to constantly spin 360 degrees, all sides spinning at the same speed, and how would I get the skybox to rotate on its own axis? I'm looking for ways to do this that do not require me paying money.
Answer by Gamehusky · Apr 27, 2016 at 09:58 PM
Maybe not the perfect solution, but you could create a large cube mesh with inverted normals, then you could simply make the cube follow the transform.position
of the player/ camera.
You could even take it a step further and add a new layer mask "Skybox" and render the cube with another seperate camera, so you don't have to worry about the mesh going outside the box, since it will be rendered at a later time.
Lastly, the rotation could simple be applied to the box with a script, modifying the rotation every fram in the Update() method (Quaternion could be useful).
Your answer
Follow this Question
Related Questions
How to tell when transform rotated 360 degrees 0 Answers
Z axis not tracking 0 Answers
Why are the pivots for my sprites always off-center? 1 Answer
Parenting an object causes it to change rotation 1 Answer
UI compass pointing to a 3D object 0 Answers