Jump to content

fateriddle

Members
  • Content Count

    63
  • Joined

  • Last visited

Reputation Activity

  1. Like
    fateriddle got a reaction from Wingnut in Typo on Doc   
    https://doc.babylonjs.com/how_to/observables
    "hasObserver" should be "hasObservers" 
  2. Like
    fateriddle reacted to Gijs in How to build a box that's transparent to the outside world, but also hiding what's inside?   
    Here's a combination of what's been suggested (sort of):
    http://www.babylonjs-playground.com/#ACPMQL#1
  3. Like
    fateriddle got a reaction from trevordev in How to create a mesh that's always approaching closer to your camera?   
    Big thanks! This works just fine for me. Another question, how do you spawn those meshes once every second? Every example I find, meshes all exist at the very beginning.
  4. Like
    fateriddle reacted to JohnK in Where should I be putting my animation code in complex scene?   
    Hi @fateriddle and welcome from me. There are two main ways of achieving animation in BJS. One uses 
    in this case you can change properties of BJS objects such as position, rotation etc.
    Another way is to use animatables https://doc.babylonjs.com/features/animations
    From your description it seems you are using animatables which do not go inside the registerBeforeRender loop.
  5. Like
    fateriddle got a reaction from JackFalcon in How to build a box that's transparent to the outside world, but also hiding what's inside?   
    How to build a box that's transparent to the outside world, but also hiding what's inside?
    I tried material.alpha = 0, box becomes transparent, but also whatever inside the box is revealed. 
    Basically, I'm trying to build a AR portal, which to my understanding is a skybox inside of a transparentbox, with a hole as the door. You can only peek inside through the door, so I need everything else be hidden, but can't get it done.
×
×
  • Create New...