Search the Community
Showing results for tags 'zone'.
-
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
-
Can anyone show me a simple example on how to do the camera and dead zone the same as Nyan cat game play https://www.youtube.com/watch?v=y9pvycrgiDI Thanks you in advance for your kindness !