Art Vandelay

  • Content count

  • Joined

  • Last visited

  1. Mesh Intersect Timing

    Exactly what I needed! Thanks @brianzinn!
  2. Mesh Intersect Timing

    Hi, I have two meshes. In my createScene function i have a point where I check if they are intersecting. The thing is I would like to first move one of the meshes (change its position) and then IMMEDIATELY check if they intersect BEFORE waiting for the next rendering iteration. The problem is if i change the position of one mesh so that it intersects with the other and then immediately check for intersection it says they don't intersect (I guess because the actual position is changed only while the render loop is called). Is there anyway to solve this? Thanks!
  3. Precise Collisions for imported meshes

    Sorry, I'm still a little confused too (but greatly appreciate the answers). @Deltakosh When you say mesh bounding info and geometry directly, I understand there is no impostor used, but is the bounding info accurate? Meaning not just a box or a sphere etc... Thanks again
  4. Precise Collisions for imported meshes

    Checking for intersections doesn't use impostors as well?
  5. Precise Collisions for imported meshes

    Quick question. I noticed in the table in the documentation it says that for impostor type "mesh" oimo.js uses a box. Does this mean what I want to do is impossible with oimo.js? Thanks
  6. Hi, I am trying to load an obj file into a scene. The mesh loads fine, but the MTL file (which is in the same directory as the OBJ) doesn't load so the mesh basically has no texture. I am not sure why. In the documentation it says that babylonjs should load it automatically. What am I missing? Thanks for the help!
  7. Scaling Uploaded OBJ mesh

    Hi, I am loading an obj file and trying to scale it as shown below. The mesh is loaded but the scaling does not work. What am I doing wrong? var maraca = loader.addMeshTask("maraca", "", "assets/", "Maraca.obj"); maraca.scaling = new BABYLON.Vector3(0.1, 0.1, 0.1); Thanks!
  8. Precise Collisions for imported meshes

    Thanks @Deltakosh! Will try it out.
  9. Hi, I realize this is a topic that was covered before but I couldn't find a solution and wasn't sure if there was one now. I have several imported meshes in a scene (relatively complex ones) and I can drag and drop one at a time. I want to check whether the mesh I am dragging has collided with a different one. In that case it is blocked and can't be dragged further. The problem is I would like to check this precisely, meaning exactly when two meshes touch each other, and not just by using a bounding box. Is there any way to do this? Thanks for your help!
  10. Three.js or Babylon.js for room design

    Thanks for the detailed response Max. And thanks everyone else as well.
  11. Three.js or Babylon.js for room design

    Thanks everyone for the replies! Yes I realize it might be a bit naive to post that question here. I guess I just felt babylon users were more trustworthy Anyways thanks again, will play a bit with both.
  12. Hi everyone, I would like to create a simple interior design tool. Basically a drag and drop tool, where you can drag and drop furniture, lighting, wallpapers, pictures, windows, floors, anything really. For this type of project, should I use Babylon.js or Three.JS? Thanks!
  13. Object splits into multiple meshes

  14. Object splits into multiple meshes

    Thanks for the reply. Just to clarify, is there a special way to do this in babylonjs?
  15. Hi everyone, I have an obj file of an object composed of several meshes. When I load this file using the object file loader and try to drag it (as in the drag and drop tutorial in the playground) only one of the meshes is selected. What is the correct way to make sure the object is selected? Thanks!