- Home /
Question by
justGoscha · Sep 20, 2021 at 11:50 AM ·
renderingscenesimulationvisibility
Is it possible to hide a simulation scene from rendering?
Hi,
I create a simulation scene to simulate some physics and show a preview trajectory. In my scene though things explode when they are hit and disappear. I don't want the simulation scene to show up at all in my rendering, yet I have absolutely no idea how to disable it from rendering. It always seems to render.
This is how I create the simulated scene.
CreateSceneParameters _param = new CreateSceneParameters(LocalPhysicsMode.Physics3D);
_simScene = SceneManager.CreateScene("Simulation", _param);
_physicSim = _simScene.GetPhysicsScene();
CreateSimObjects();
CreateSimObjects function copies a bunch of my objects as copies over to the new simulated scene.
Comment