MackeyK24 Posted November 18, 2016 Share Posted November 18, 2016 How should i create the box mesh to use as a trigger zone... I really want a non-visible box area to walk thru and trigger and event. I get that i can use the action manager and or just check intersects with in update loop. But i can trying to add support for trigger volumes to my BabylonsJS Toolkit and i am creating the box using the babylon.entities api in C#. So i guess what i an asking is 'HOW MUCH' of a regular cube mesh do i need to create for it to be a non-visible at runtime area that still has some kind of geometry that defines that actual area of the box that 'lives' so the mesh.intersect api works. Right now i am making just a normal mesh box and if it is a 'trigger a volume' i just set set the babylonMesh.visibility = 0 and babylonMesh.isVisible = false then just DONT create the mesh materials for it by skipping the if (render != null) section that does all that good stuff. Now is that how i should create an area box? Just make a normal box and set its visible = false... ? Or What ??? Thanks for the info Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.