we are trying to create a game with a lot of levels which the player can traverse seemlessly in first person. Every level is designed seperately and we want to be able to load the additively into the game on demand. The issue is that these levels can “overlap”, which causes issues with the physics engine. Currently we’re offsetting the objects once the scene is loaded, but that is too late. The collision is there for one frame.
Is there a way to work around that? I’ve tried setting “sceneActivation” to false but then I also won’t be able to access the rootobjects to perform the moving. Disabling the PhysicsScene on scene load and manually activating it would be great. But I see no API to perform that action.
You could in theory place all your objects onto single root and disable it in the prefab.
Then, once the scene is loaded, move it, and re-activate the root object.
(But that would probably be resource intensive, depending on how many objects / Start / OnEnable callbacks you’ve got)