adam

Members
  • Content count

    1,371
  • Joined

  • Last visited

  • Days Won

    18

adam last won the day on April 14

adam had the most liked content!

3 Followers

About adam

  • Rank
    Advanced Member

Recent Profile Visitors

2,117 profile views
  1. Here is one way to do it: http://www.babylonjs-playground.com/#NRH4TH#7 another: http://www.babylonjs-playground.com/#NRH4TH#8
  2. What could be wrong? The sphere is not following the tube. How about providing the link to the PG?
  3. I'm not sure if there is anything you can do for this. It appears to be an FF warning - not an error.
  4. I think if you edit your original post you can add [Solved] to the title.
  5. var worldPathPosition = BABYLON.Vector3.TransformCoordinates(localPathPosition, mesh.getWorldMatrix());
  6. You need to convert it to a flat shaded mesh. http://www.babylonjs-playground.com/#53YWDR#1
  7. http://www.babylonjs-playground.com/#FTQGKP#2 edit: pickedPoint is incorrect, though I added updateCoordinateHeights: http://www.babylonjs-playground.com/#FTQGKP#3
  8. I just want to make sure you realize you don't need to use that makeParent function. You can do this: http://www.babylonjs-playground.com/#KK6J9I#5
  9. You can do this by creating an updatable ground mesh: http://www.babylonjs-playground.com/#FTQGKP#1
  10. solved

    You would have had a faster response time if your PG was more focused. I had to delete some unnecessary code that was causing some errors. This PG demonstrates your issue: http://www.babylonjs-playground.com/index.html#UMF647#5 There appears to be a bug in BJS when setting euler rotation when using a physics in imposter. For now, set rotationQuaternion: http://www.babylonjs-playground.com/index.html#UMF647#7
  11. You can use setParent or addChild for this: https://github.com/BabylonJS/Babylon.js/blob/master/src/Mesh/babylon.abstractMesh.ts#L1823 with keepWorldPositionRotation set to true.
  12. The error I'm seeing in FF is: Error: WebGL: texImage2D: Conversion requires pixel reformatting. Found this in FF code: https://dxr.mozilla.org/mozilla-central/source/dom/canvas/TexUnpackBlob.cpp#335
  13. I got the font to load here: http://www.babylonjs-playground.com/#Q0M3CV#4 There was a breaking change that changed the constructor: https://github.com/BabylonJS/Babylon.js/commit/19ed9366706a8264ffc5c9526f8f9b19bfb4bcbc#diff-69e60dcf75816ab45ec8ed9ef039f79c
  14. solved

    function degreesToRadians(degrees){ var radians = degrees * Math.PI / 180; return radians; }