adam

Members
  • Content count

    1,335
  • Joined

  • Last visited

  • Days Won

    17

adam last won the day on January 11

adam had the most liked content!

3 Followers

About adam

Recent Profile Visitors

1,980 profile views
  1. If you try loading this page: <!doctype html> <html> <head> <script src="babylon.canvas2d.js"></script> <script src="babylon.max.js"></script> </head> <body> </body> </html> and then open the console you will see this error: Uncaught TypeError: Cannot read property 'Effect' of undefined at babylon.canvas2d.js:1 edit: Scripts execute in the order they appear on the page unless the html5 async property is used.
  2. You are describing a dropbox issue. I quickly found this with a simple google search. https://www.dropboxforum.com/t5/Sharing-and-collaboration/My-public-links-are-no-longer-working/m-p/211934
  3. You need a camera. http://doc.babylonjs.com/tutorials/creating_a_basic_scene
  4. This is a CORS issue. https://enable-cors.org/
  5. You need to load BJS first.
  6. This is an issue with parenting the mesh to the camera. http://www.babylonjs-playground.com/#1BZJVJ#92 http://www.babylonjs-playground.com/#1BZJVJ#96 edit: also occurs when parenting to a mesh (skeletonViewer lags): http://www.babylonjs-playground.com/#1BZJVJ#93 attachToBone doesn't look bad though: http://www.babylonjs-playground.com/#1BZJVJ#94 http://www.babylonjs-playground.com/#1BZJVJ#95 For now you should use attachToBone. edit 2: I got it to work by computing the world matrix of the mesh before getting the position or the bone: http://www.babylonjs-playground.com/#1N9CSW#6 I'll submit a PR to fix this issue sometime this week.
  7. It appears to me that you might have some skeleton issues. http://www.babylonjs-playground.com/#1N9CSW#5 http://www.babylonjs-playground.com/#1N9CSW#4
  8. https://doc.babylonjs.com/tutorials/layermasks_and_multi-cam_textures
  9. I'd try setting angularSensibility according to distance. https://github.com/BabylonJS/Babylon.js/blob/master/src/Cameras/babylon.arcRotateCamera.ts#L58
  10. I think this is closer to what you want: http://babylonjs-playground.azurewebsites.net/#7CPXT#1
  11. http://doc.babylonjs.com/overviews/solid_particle_system#particle-management
  12. Here is a good RayHelper example: http://www.babylonjs-playground.com/#ZHDBJ#37
  13. It appears as though the plugin is setup to share materials between physics bodies if they have the same friction and restitution. https://github.com/BabylonJS/Babylon.js/blob/master/src/Physics/Plugins/babylon.cannonJSPlugin.ts#L200 For now, make sure your bodies don't have the same friction and restitution when you create them: http://babylonjs-playground.azurewebsites.net/#249T6Y#1
  14. It's working on this simple model: http://www.babylonjs-playground.com/#OCCLB#25 Weird
  15. https://github.com/BabylonJS/Babylon.js/commit/582d21e43967e6740e01ca267aa546107e4bce6c