Steak

Members
  • Content count

    3
  • Joined

  • Last visited

About Steak

  • Rank
    Newbie
  • Birthday May 23

Profile Information

  • Gender
    Male
  • Location
    Germany
  • Interests
    Babylon.js, Node.js
  1. Is it possible to move the camera and change the spheres animation to head in the direction of the adjusted camera position ? I tried requiring the meshes I want to update by using the scene variable, but it does not really work. https://playground.babylonjs.com/#Z88Q4W#19
  2. Thank you for your inspiration I figured it out! It was due to an issue with registerBeforeRender. By using an Observable (Line : 169) Playground: https://playground.babylonjs.com/#Z88Q4W#19 Really apprectiate the help of an infamous member of the babylon community like you are Thanks @Wingnut
  3. Playground DEMO: https://playground.babylonjs.com/#Z88Q4W#2 Hi, this is my first post in this forum. I started with bjs a few weeks ago and I love it! I played around with the tutorials and while creating a small project I detected an issue with collision detection (intersects.Mesh). The sphere's in my demo have different colors, representing their life count. In my example I want to detect the life of an object when being hit by the ShotCylinder and reduce the LifeCount by 1. Now when I hit the object in my console it decreases the life constantly. How can I stop the life from dropping ? (Maybe stop the collision, I only need the detection once) It seems like the collision seems to survive the dipose(). Maybe someone could help me. Hope my code readable, I am not a professional coder please keep that in mind! Have a great day ! Nils