0
\$\begingroup\$

I have got 2 scenes in a unity project and want to play simulation of both the scenes in parallel. Has anyone tried this? Thanks!

\$\endgroup\$
2
  • \$\begingroup\$ answers.unity.com/questions/8148/… \$\endgroup\$
    – virtouso
    Commented Oct 2, 2019 at 8:45
  • \$\begingroup\$ This is the default behaviour when you load two scenes, no? How have you tried implementing this so far, and where have you gotten stuck or observed unwanted behaviour? \$\endgroup\$
    – DMGregory
    Commented Oct 2, 2019 at 9:54

1 Answer 1

1
\$\begingroup\$

You can load multiple scenes additively with

SceneManager.LoadScene(scene, LoadSceneMode.Additive);

The result will be that the objects of both scenes exist in the same 3d space. That means the objects from the two scenes can potentially collide and interact with each other. If you don't want that, then there are two strategies you can use to avoid this:

  1. Use layers to isolate the physics and rendering of the two scenes.
  2. Have the content of the two scenes far away from each other in 3d space.
\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .