skysphere moving
Blitz3D Forums/Blitz3D Programming/skysphere moving
| ||
Every loop at the end I have:PositionEntity skybox,EntityX(current_camera,1),EntityY(current_camera,1),EntityZ(current_camera,1),1 which works fine except when the ship collides with something, the skybox moves, spoiling the whole effect. The skysphere is 2 units big |
| ||
I parent the skybox to the camera, then reset the orientation each update:RotateEntity skyBox,0,0,0,True |
| ||
thanks that sounds better |
| ||
Good tip Gfk, I never thought of that. Slenkar, make sure to move after UpdateWorld. Collision results aren't handled until UpdateWorld is called. |
| ||
ah I see good tip thanks |