Help Multi-Scene setup and colliders - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html) +--- Thread: Help Multi-Scene setup and colliders (/thread-797.html) |
Multi-Scene setup and colliders - KjetilMV - 19-12-2018 Hi I noticed today that after re-loading a scene in runtime - the obi wouldn't collide with some colliders anymore. Collision happens on the initial load - but on every reload after they won't collide. The colliders are in a different scene. After copy-pasting those colliders over to the same scene where the rope is, the collision works fine. Am I missing something? RE: Multi-Scene setup and colliders - josemendez - 20-12-2018 (19-12-2018, 09:26 PM)KjetilMV Wrote: Hi Hi there, How are you loading the scene at runtime? Colliders are registered in their Awake() function, so as long as it is being called when loading the scene things should just work. RE: Multi-Scene setup and colliders - KjetilMV - 20-12-2018 Hi. Just regular scene loading. My basic stage (with colliders) is in the main scene. Then another scene with all the interactive objects are loaded additive. The rope is in this second scene. The solver is also in this second scene. When you say " Colliders are registered in their Awake() function.. " - do you mean the solver registers them in the Awake function? |