Search the Community
Showing results for tags 'babyon'.
-
Hello guys , As i unity developer i just want to ask a quick question Which method in mesh class Match update function in unity .. What it means i want each mesh to have it's own update method rather use scene.registerBeforeRender() Which controls every update/render happens in the scene I've used those func's mesh.onBeforeDrawObservable() mesh.onAfterRenderObservable() But Explicitly i don't know if it's best choice or not and i have little problem with it .. Also those methods can't be executed behind camera view (the mesh must be in the view of camera to allow those type of functions to be executed) so guys what do u think ? Thanks in advance
- 2 replies
-
- afterrender
- beforerender
-
(and 3 more)
Tagged with:
-
I am trying to perform a Boolean subtraction operation on an imported Mesh (skull.babylon). I have downloaded the demo from Babylon CSG. Demo: http://www.babylonjs-playground.com/#NZPX4 The operation seems to work on native meshes, but not on imported meshes. Has anyone tried this before? I used the loader to bring in the mesh, and then tried to reference it in the subtraction operation. So far, no luck Thanks indexCSG.html