adam

Members
  • Content count

    1,495
  • Joined

  • Last visited

  • Days Won

    19

Everything posted by adam

  1. PBR composer ( node based )

    Impressive. Can you put a link to PBR-Composer on your first post? I skimmed (didn't read ) that first post and went directly to Shader Editor thinking it was yours. Thanks
  2. syncBoneWithImpostor function help

    Create a test with at least 2 bones and 2 physics imposters connected by a joint. I never tested a 1 bone 1 imposter set up.
  3. Physics Movement Is Gounded

    I think you're going to have to determine if the body is grounded by observing collisions. You can use PhysicsImposter.registerOnPhysicsCollide: https://github.com/BabylonJS/Babylon.js/blob/master/src/Physics/babylon.physicsImpostor.ts#L320
  4. I'd fill the meshes array with empty meshes (or something else like boxes) and then in onSuccess replace those empty meshes with the real meshes.
  5. Tween model by TweenMax.js

    Still not working. Just use the skull: https://www.babylonjs-playground.com/#H30ZQI#4
  6. Scene dispose freeze BJS

    If you have no luck disposing a scene, then maybe you can reuse them.
  7. Read this: https://doc.babylonjs.com/tutorials/how_to_use_assetsmanager
  8. https://www.babylonjs-playground.com/#2609XG https://github.com/BabylonJS/Babylon.js/blob/master/src/Mesh/babylon.abstractMesh.ts#L1832
  9. I don't think this has anything to do with the model. I'm thinking there is a divide by zero error somewhere.
  10. It's not just the ortho camera: https://www.babylonjs-playground.com/#JLPAE#139
  11. [SOLVED] Forward Vector

    You're welcome.
  12. [SOLVED] Forward Vector

    You can use mesh.getDirection for this: https://www.babylonjs-playground.com/#0EXNGT#2
  13. Announcing Babylon.GUI

    I commented out line 57. https://www.babylonjs-playground.com/#FBKE1P#1
  14. Billboarding... How to actually use it

    another example: https://www.babylonjs-playground.com/#UJEIL#13
  15. Restricting camera rotation

    https://www.babylonjs-playground.com/#AEXWGL#3
  16. Scared of Typescript

    This guide is really good: https://doc.babylonjs.com/generals/how_to_start
  17. RayCasting

    Nope https://www.babylonjs-playground.com/#WJPB9#39 That example uses Pick (click on the ground) and Ray with a ground mesh. edit: and an example that uses a model: https://playground.babylonjs.com/#YEHNDI#2
  18. How to host .babylon file on web server?

    Try changing the extension of the .babylon file to .json .
  19. I'd keep it totally separate. Use a canvas for BJS and another canvas for Pixi.
  20. You should be able to. What issues did you run into?
  21. RayCasting

    Here is an example using a Ray and RayHelper: https://www.babylonjs-playground.com/#1UZIZC#33
  22. Mouse and camera controls

    I set a max speed on these: https://www.babylonjs-playground.com/#A8TKYS#4 This one translates the camera position: https://www.babylonjs-playground.com/#A8TKYS#3 edit: I also changed the cell sizes from 4300 to 256.
  23. Shower visualization

    This is most likely a bug in the version of FF you are using.