- Home /
Question by
ogegres · Oct 25, 2016 at 08:17 PM ·
staticstatic batching
If I have inside moving object not moving parts should i mark them as static?
For example I have player(game object) I control it and move around the game. Inside of it i have the Main camera. Should I mark it as static for better performance?
I'm not using any scrips on camera her position is never changes relatively player.
PS Question is not about the camera, it can be any other object, which is child for moving GameObject and is not moving by scripts but moving as part of moving gameobject
Comment
Best Answer
Answer by hexagonius · Oct 25, 2016 at 09:05 PM
The static modifier is for GameObjects that do not move relative to the world. This means "not moving at all". As soon as something moves though it might be not relative to something, this does not apply.