trevordev

Members
  • Content Count

    229
  • Joined

  • Last visited

  • Days Won

    2

Reputation Activity

  1. Like
    trevordev got a reaction from vtange in AmmoJS support   
    Hey,
    AmmoJS physics plugin has been added to Babylon preview. It should work well with composite meshes which we've had trouble with in the past with other engines. Let me know if you find any issues or have any feedback.
    Note:
    Support for motors, soft bodies, other ammo specific features are not yet supported so yell if you need anything specific for your project.

    vid.mp4 Examples:
    Basic impostors: https://playground.babylonjs.com/#7149G4#31
    Loading mesh and colliders from file: https://playground.babylonjs.com/#66PS52
    Loading and adding colliders manually in Babylon: https://playground.babylonjs.com/#FD65RR
    Loading and adding collider with joints and pointer interactions: https://playground.babylonjs.com/#DGEP8N
    WebVR grabbing and throwing: https://playground.babylonjs.com/#ZNX043#1
     
    Docs: 
    https://doc.babylonjs.com/how_to/using_the_physics_engine
  2. Like
    trevordev got a reaction from adam in AmmoJS support   
    Hey,
    AmmoJS physics plugin has been added to Babylon preview. It should work well with composite meshes which we've had trouble with in the past with other engines. Let me know if you find any issues or have any feedback.
    Note:
    Support for motors, soft bodies, other ammo specific features are not yet supported so yell if you need anything specific for your project.

    vid.mp4 Examples:
    Basic impostors: https://playground.babylonjs.com/#7149G4#31
    Loading mesh and colliders from file: https://playground.babylonjs.com/#66PS52
    Loading and adding colliders manually in Babylon: https://playground.babylonjs.com/#FD65RR
    Loading and adding collider with joints and pointer interactions: https://playground.babylonjs.com/#DGEP8N
    WebVR grabbing and throwing: https://playground.babylonjs.com/#ZNX043#1
     
    Docs: 
    https://doc.babylonjs.com/how_to/using_the_physics_engine
  3. Like
    trevordev got a reaction from jhadenfeldt in Using VR and PostProcess together   
    @jhadenfeldt the vr helper creates cameras internally which must be added to the post process see this playground: https://www.babylonjs-playground.com/#T49RDX#1
  4. Like
    trevordev got a reaction from Wingnut in AmmoJS support   
    Hey,
    AmmoJS physics plugin has been added to Babylon preview. It should work well with composite meshes which we've had trouble with in the past with other engines. Let me know if you find any issues or have any feedback.
    Note:
    Support for motors, soft bodies, other ammo specific features are not yet supported so yell if you need anything specific for your project.

    vid.mp4 Examples:
    Basic impostors: https://playground.babylonjs.com/#7149G4#31
    Loading mesh and colliders from file: https://playground.babylonjs.com/#66PS52
    Loading and adding colliders manually in Babylon: https://playground.babylonjs.com/#FD65RR
    Loading and adding collider with joints and pointer interactions: https://playground.babylonjs.com/#DGEP8N
    WebVR grabbing and throwing: https://playground.babylonjs.com/#ZNX043#1
     
    Docs: 
    https://doc.babylonjs.com/how_to/using_the_physics_engine
  5. Like
    trevordev reacted to jhadenfeldt in Using VR and PostProcess together   
    You guys are awesome, thank you very much, works flawlessly!
  6. Like
    trevordev reacted to eldogg in "Offerlings" our Gamejam entry for Ludum Dare 43   
    Play "Offerlings" in your browser" 

    For the game jam Ludum Dare 43 we decided to try out BabylonJS. We knew we wanted to create 3D game and for it to run on the web and on mobile browsers. We'd previously created our own JS engines with THREE.js as the renderer, but the time constraints of the game jam (3 days) meant we wanted to an existing game engine. We looked at other game engines that had HTML5 exports (Unity, Godot, Unreal), but none of them really worked on mobile. We're really happy with using BabylonJS, the examples were great for learning how to add various features into our game. Looking forward to the AmmoJS plugin in version 4.0!

    Let us know what you think of the game, and if you spot any problems.
     



  7. Like
    trevordev got a reaction from bghgary in AmmoJS support   
    Hey,
    AmmoJS physics plugin has been added to Babylon preview. It should work well with composite meshes which we've had trouble with in the past with other engines. Let me know if you find any issues or have any feedback.
    Note:
    Support for motors, soft bodies, other ammo specific features are not yet supported so yell if you need anything specific for your project.

    vid.mp4 Examples:
    Basic impostors: https://playground.babylonjs.com/#7149G4#31
    Loading mesh and colliders from file: https://playground.babylonjs.com/#66PS52
    Loading and adding colliders manually in Babylon: https://playground.babylonjs.com/#FD65RR
    Loading and adding collider with joints and pointer interactions: https://playground.babylonjs.com/#DGEP8N
    WebVR grabbing and throwing: https://playground.babylonjs.com/#ZNX043#1
     
    Docs: 
    https://doc.babylonjs.com/how_to/using_the_physics_engine
  8. Like
    trevordev got a reaction from antimass in AmmoJS support   
    Hey,
    AmmoJS physics plugin has been added to Babylon preview. It should work well with composite meshes which we've had trouble with in the past with other engines. Let me know if you find any issues or have any feedback.
    Note:
    Support for motors, soft bodies, other ammo specific features are not yet supported so yell if you need anything specific for your project.

    vid.mp4 Examples:
    Basic impostors: https://playground.babylonjs.com/#7149G4#31
    Loading mesh and colliders from file: https://playground.babylonjs.com/#66PS52
    Loading and adding colliders manually in Babylon: https://playground.babylonjs.com/#FD65RR
    Loading and adding collider with joints and pointer interactions: https://playground.babylonjs.com/#DGEP8N
    WebVR grabbing and throwing: https://playground.babylonjs.com/#ZNX043#1
     
    Docs: 
    https://doc.babylonjs.com/how_to/using_the_physics_engine
  9. Like
    trevordev got a reaction from JohnK in AmmoJS support   
    Hey,
    AmmoJS physics plugin has been added to Babylon preview. It should work well with composite meshes which we've had trouble with in the past with other engines. Let me know if you find any issues or have any feedback.
    Note:
    Support for motors, soft bodies, other ammo specific features are not yet supported so yell if you need anything specific for your project.

    vid.mp4 Examples:
    Basic impostors: https://playground.babylonjs.com/#7149G4#31
    Loading mesh and colliders from file: https://playground.babylonjs.com/#66PS52
    Loading and adding colliders manually in Babylon: https://playground.babylonjs.com/#FD65RR
    Loading and adding collider with joints and pointer interactions: https://playground.babylonjs.com/#DGEP8N
    WebVR grabbing and throwing: https://playground.babylonjs.com/#ZNX043#1
     
    Docs: 
    https://doc.babylonjs.com/how_to/using_the_physics_engine
  10. Like
    trevordev got a reaction from inteja in AmmoJS support   
    Hey,
    AmmoJS physics plugin has been added to Babylon preview. It should work well with composite meshes which we've had trouble with in the past with other engines. Let me know if you find any issues or have any feedback.
    Note:
    Support for motors, soft bodies, other ammo specific features are not yet supported so yell if you need anything specific for your project.

    vid.mp4 Examples:
    Basic impostors: https://playground.babylonjs.com/#7149G4#31
    Loading mesh and colliders from file: https://playground.babylonjs.com/#66PS52
    Loading and adding colliders manually in Babylon: https://playground.babylonjs.com/#FD65RR
    Loading and adding collider with joints and pointer interactions: https://playground.babylonjs.com/#DGEP8N
    WebVR grabbing and throwing: https://playground.babylonjs.com/#ZNX043#1
     
    Docs: 
    https://doc.babylonjs.com/how_to/using_the_physics_engine
  11. Like
    trevordev got a reaction from Dad72 in AmmoJS support   
    Hey,
    AmmoJS physics plugin has been added to Babylon preview. It should work well with composite meshes which we've had trouble with in the past with other engines. Let me know if you find any issues or have any feedback.
    Note:
    Support for motors, soft bodies, other ammo specific features are not yet supported so yell if you need anything specific for your project.

    vid.mp4 Examples:
    Basic impostors: https://playground.babylonjs.com/#7149G4#31
    Loading mesh and colliders from file: https://playground.babylonjs.com/#66PS52
    Loading and adding colliders manually in Babylon: https://playground.babylonjs.com/#FD65RR
    Loading and adding collider with joints and pointer interactions: https://playground.babylonjs.com/#DGEP8N
    WebVR grabbing and throwing: https://playground.babylonjs.com/#ZNX043#1
     
    Docs: 
    https://doc.babylonjs.com/how_to/using_the_physics_engine
  12. Like
    trevordev reacted to MarianG in AmmoJS support   
    For this example https://playground.babylonjs.com/#ZNX043 I think you have to remove "Playground" from link 😋 line 43, the assest don;t load.
    And good job, as usual 💪
  13. Like
    trevordev got a reaction from jerome in AmmoJS support   
    Hey,
    AmmoJS physics plugin has been added to Babylon preview. It should work well with composite meshes which we've had trouble with in the past with other engines. Let me know if you find any issues or have any feedback.
    Note:
    Support for motors, soft bodies, other ammo specific features are not yet supported so yell if you need anything specific for your project.

    vid.mp4 Examples:
    Basic impostors: https://playground.babylonjs.com/#7149G4#31
    Loading mesh and colliders from file: https://playground.babylonjs.com/#66PS52
    Loading and adding colliders manually in Babylon: https://playground.babylonjs.com/#FD65RR
    Loading and adding collider with joints and pointer interactions: https://playground.babylonjs.com/#DGEP8N
    WebVR grabbing and throwing: https://playground.babylonjs.com/#ZNX043#1
     
    Docs: 
    https://doc.babylonjs.com/how_to/using_the_physics_engine
  14. Like
    trevordev got a reaction from Sebavan in How to randomly clone billboard instances onto a mesh ?   
    @jsauca here's a playground that might help get the triangles https://playground.babylonjs.com/#KWSAU4#1
  15. Like
    trevordev got a reaction from MarianG in AmmoJS support   
    Hey,
    AmmoJS physics plugin has been added to Babylon preview. It should work well with composite meshes which we've had trouble with in the past with other engines. Let me know if you find any issues or have any feedback.
    Note:
    Support for motors, soft bodies, other ammo specific features are not yet supported so yell if you need anything specific for your project.

    vid.mp4 Examples:
    Basic impostors: https://playground.babylonjs.com/#7149G4#31
    Loading mesh and colliders from file: https://playground.babylonjs.com/#66PS52
    Loading and adding colliders manually in Babylon: https://playground.babylonjs.com/#FD65RR
    Loading and adding collider with joints and pointer interactions: https://playground.babylonjs.com/#DGEP8N
    WebVR grabbing and throwing: https://playground.babylonjs.com/#ZNX043#1
     
    Docs: 
    https://doc.babylonjs.com/how_to/using_the_physics_engine
  16. Like
    trevordev reacted to Deltakosh in AmmoJS support   
    YOU FREAKING ROCK!!!
  17. Thanks
    trevordev got a reaction from kcoley in AmmoJS support   
    Hey,
    AmmoJS physics plugin has been added to Babylon preview. It should work well with composite meshes which we've had trouble with in the past with other engines. Let me know if you find any issues or have any feedback.
    Note:
    Support for motors, soft bodies, other ammo specific features are not yet supported so yell if you need anything specific for your project.

    vid.mp4 Examples:
    Basic impostors: https://playground.babylonjs.com/#7149G4#31
    Loading mesh and colliders from file: https://playground.babylonjs.com/#66PS52
    Loading and adding colliders manually in Babylon: https://playground.babylonjs.com/#FD65RR
    Loading and adding collider with joints and pointer interactions: https://playground.babylonjs.com/#DGEP8N
    WebVR grabbing and throwing: https://playground.babylonjs.com/#ZNX043#1
     
    Docs: 
    https://doc.babylonjs.com/how_to/using_the_physics_engine
  18. Like
    trevordev reacted to jsauca in How to randomly clone billboard instances onto a mesh ?   
    Hi @trevordev, 
    No I do not require the billboards to be placed on vertices, just anywhere & randomly on the target mesh. I will have a look into how to find the triangles that make up a mesh ! Thanks for your help
  19. Like
    trevordev reacted to eps in [WIP] Space Invaders Cubed on Android   
    Oops, posted this in the general demos and projects forum..
    I've been developing this game over the past few months....  It's been Alpha tested and I think it is now ready for Beta testing...!
     
    Screenshot attached.
     
    Its been developed using Basic4Android, which creates the WebView for the game and the Menus.  The rest is HTML5, using BabylonJS and JS to create the gameplay mechanics.
     
     

  20. Like
    trevordev reacted to NasimiAsl in Shared transparency   
    hi
    https://www.babylonjs-playground.com/#1TYWYB#188
    you can use 2 renderTarget for make that
    1. for render transparent area inside of black Area https://www.babylonjs-playground.com/#1TYWYB#186
    2. render nan transparent meshes  https://www.babylonjs-playground.com/#1TYWYB#187
    then mix that with postprocess
     
  21. Like
    trevordev reacted to sable in Custom zooming   
    Was mainly just copied from a project I've been working on which faced similar performance issues with picking sphere particles from a sps, with corrections for the pivot point changing.
    I''ll try and take a look at sorting out the jumping in the next few days, but post back if you get it sorted before then.
  22. Thanks
    trevordev got a reaction from Bladetrick in What is this symbol in the Playground inspector?   
    @Bladetrick I believe that is a transformNode so it will only have position/rotation/scale and no geometry data. Are you seeing it unexpectedly?
  23. Like
    trevordev reacted to VictorF in A journey: trying to implement a VR Panorama viewer   
    Ok I've made my first test of two finger zoom https://www.babylonjs-playground.com/#2MDWH7#1 I had to disable the device orientation control for a while to test it properly
  24. Like
    trevordev reacted to nikita in VRTeleportation through translucent meshes   
    @trevordev Adding isPickable = false worked. Thanks.
  25. Like
    trevordev reacted to CorayThan in Check if mesh is in Frustum and not hidden by other meshes?   
    In case anyone else comes across this, what I was looking for was to use ray casting and check what the ray from the camera to the mesh hits:

     
    Ray.CreateNewFromTo(cameraPosition, meshPosition) const picked = scene.pickWithRay(ray) return picked.hit