adam

Members
  • Content count

    1,572
  • Joined

  • Last visited

  • Days Won

    21

Everything posted by adam

  1. OIMO does it like this: https://github.com/lo-th/Oimo.js/blob/gh-pages/examples/test_collision.html#L209 You can edit shape.collidesWith and shape.belongsTo in an oimo rigidbody: https://github.com/lo-th/Oimo.js/blob/gh-pages/src/shape/Shape.js#L68
  2. childMesh.setParent(null);
  3. Sorry, I've been busy and I wasn't sure how you would deal with making the Pixel props accurate if they were not initially set using pixels.
  4. Animation blending

    In the past I've noticed some weirdness with animation blending, too. I think this could be due to blending matrices instead of quaternions.
  5. or you can just use TweenMax/TweenLite like this: http://playground.babylonjs.com/#WB8QUM#1 (you won't have to do the s.onload part - that's just for the PG)
  6. In this PG I created a heightPixel property on BABYLON.GUI.Control: http://playground.babylonjs.com/#E2TSU0
  7. cloning mesh across scenes

    You could add that to feature requests on github.
  8. @dbawel Hopefully these fixes will help to resolve the issues you had been experiencing.
  9. cloning mesh across scenes

    I'm pretty sure you're going to have to import them all again. That's what I ended up doing when I was considering using more than one canvas in my project.
  10. Maybe someone could add this feature to the PG. Here is just a test: https://playground.babylonjs.com/#5JBSHD#1 You should be able to load a .babylon file using that PG.
  11. Difficult Task

  12. now use it to fix this: Uncaught ReferenceError: canvas is not defined at main.php:216 You need to start helping yourself.
  13. Some issue with Canvas2D

    If you are concerned about documentation than you should definitely go with GUI. Canvas2d is no longer supported.
  14. OBJ file not loading correctly?

    A few things I noticed: You are creating 2 asset managers. You have a loadEntity function that doesn't get used. You have 2 render loops.
  15. Circle curve from beziers?

    After I fixed the circle and rotated the camera all I could see was the rotating rings from the original Superman movie.
  16. Circle curve from beziers?

    https://www.babylonjs-playground.com/#VHE1AI#4
  17. Circle curve from beziers?

    https://www.babylonjs-playground.com/#VHE1AI#3 the fifth vector was incorrect
  18. You are dealing with two different observables. I'm pretty sure this is not possible. EDIT: I was wrong: https://github.com/BabylonJS/Babylon.js/blob/master/gui/src/advancedDynamicTexture.ts#L359
  19. Mesh disappearing frequently in various amounts of times

    Make sure the bounding box for the mesh that is disappearing is correct. You can check this by setting mesh.showBoundingBox = true.
  20. Announcing Babylon.GUI

    Right, a stackpanel containing separate textblocks would probably make more sense. Then you can just write directly to each textblock.
  21. Announcing Babylon.GUI

    Would something like this work? https://www.babylonjs-playground.com/#6SN3TN#4
  22. Child meshes don't work with physics?

    Wait. You have a mesh with children and when you put an impostor in the parent mesh, the child meshes without impostors don't follow the parent mesh? I thought you had an issue because you were adding impostors to the children too.