Change the way mesh builder culls to a static bounding box
recently tried to build a creature procedurally with Mesh builder < https://developers.snap.com/lens-studio/api/lens-scripting/classes/Built-In.MeshBuilder.html > but was disappointed to discover that the bounding box culls automatically to a static volume. This means that the creature couldn't crawl around the world. This functionality limits many creative LS projects from happening. Allowing the boundary box to be accessed via script would help (making it a scene object) or decoupling it from a reliance on a camera target.
-
Hi Noland, I'm the lead for the engine runtime team.
There's no concept like a bounding box on MeshBuilder -- just not something that's part of the system.
In the project you shared the issue was the Camera's far clipping plane being set to 10m and your creature was crawling more than 10m from the Camera. Setting the Camera's far plane to 100m resolved it in the project you shared.
If there's still another issue will you share details or an example project?