• Content Count

  • Joined

  • Last visited

  1. I wouldn't even know how to begin that! Newbie here...
  2. Hi @Deltakosh! I'm actually using the one included in the ArcRotateCamera. I can translate the camera without any problems, but sometimes when I move the mouse too fast, or to far, the object gets out of the screen... Thanks Also, thanks @Wingnut
  3. Hi! I'm using the right click to move the camera around, but I wanted to limit that movement/panning/translation. For exemple, when the camera/object/mouse hits the margin of the screen, it "kind of" locks it, and doesn't allow the objects in the scene to get out of sight. http://www.babylonjs-playground.com/#0XK6K2 by the way, for some reason I can't use use the right click in the playground... Thanks!
  4. Amazing! It worked out beautifully!! I ended up using the HTML, and just had to tweak a little bit with the sty.top and sty.left as there were some issues with the screen width, but rather than that, it's perfect. Thanks a lot!
  5. Hi, I'm trying to show a text label when I hover the mouse over a mesh (sphere). It needs to show up at the exact position of the sphere. Something like: OnPointerOverTrigger -> show text label OnPointerOutTrigger -> hide text label Not sure if I have to use actions... trigger... pick()...text2d. Couldn't figure it out. Is there a way to do it using HTML? Playground: http://www.babylonjs-playground.com/#NH8WYW Can anyone help me? Thanks
  6. Thanks! http://www.babylonjs-playground.com/#WPFPJ
  7. Hello! I'm importing an obj model, and I want to tweak the visibility of it, or just dispose it when I click a button... var loader = new BABYLON.AssetsManager(scene); var leg = loader.addMeshTask("leg", "", "", "leg.obj"); BABYLON.SceneLoader.ImportMesh("", "", "leg.obj", scene, function (newMesh) { BABYLON.SceneLoader.Load("", "leg.obj", engine, function (newScene) { }); }); $('#quadril_bt').click(function () { //........ something to dispose the mesh, or make it invisible }); Can't seem to find a way to do it!