Question by
xxchester · Jun 08, 2021 at 12:29 AM ·
physicsphysics 2d
Physics scenes copy all colliders etc from main scene
Hello, I am trying to use physic scenes to perform some simulations outside of the main scene. That being said, I need all of the colliders from the main scene in the physics scenes. What is the easiest way to create a physics scene with all of the existing colliders from another scene? Do I have to loop through everything, use SceneManager.MoveGameObjectToScene(...) for every object then move them back at the end of the simulation? This doesn't seem scalable.
Thanks.
Comment