• Content count

  • Joined

  • Last visited

  • Days Won


Everything posted by adam

  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.
  3. You need a camera.
  4. This is a CORS issue.
  5. You need to load BJS first.
  6. This is an issue with parenting the mesh to the camera. edit: also occurs when parenting to a mesh (skeletonViewer lags): attachToBone doesn't look bad though: 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: I'll submit a PR to fix this issue sometime this week.
  7. It appears to me that you might have some skeleton issues.
  9. I'd try setting angularSensibility according to distance.
  10. I think this is closer to what you want:
  12. Here is a good RayHelper example:
  13. It appears as though the plugin is setup to share materials between physics bodies if they have the same friction and restitution. For now, make sure your bodies don't have the same friction and restitution when you create them:
  14. It's working on this simple model: Weird
  16. You can also use getChildMeshes()
  17. It was deprecated: Use getDescendants instead
  20. This PG doesn't use scene.pickWithRay, but it could still be helpful:
  21. mesh1 is using setPivotPoint
  22. You shouldn't have to use a worker for this. I experimented with something similar and didn't see any performance gains:
  23. Javascript is Typescript. If you want to submit a PR, simply submit the javascript and the core team will work with you.
  24. I still don't understand what the issue is.