• Content count

  • Joined

  • Last visited

  1. I think this is a separate issue than the fix I added to the vrHelper to stop the jagged lines issue. I created to track this issue and will take a look when I get the chance.
  2. Thanks, I managed to repro with this playground and I think I have a working fix here: Sorry for the breakage.
  3. I am unable to repro using v3.2.0-alpha7 (see ). If you are still able to repro it let me know how you are using it and I can take another look. Thanks.
  4. Yup this was missed. Added it in PR here Thanks.
  5. Rotation UniversalCamera

    This could be done by manually handling keyboard input. See this post Then every frame you can check to see if the key is pressed and move the camera. See this playground of everything working: Hope this helps.
  6. Sweet, I can add that to the PR as well. Thank you!
  7. Thanks! I created a PR with your code so hopefully it can get into version 3.2 See:
  8. I see, glad you have it working with your solution. Did you end up writing a method similar to the moveAllFromScene you described above or is it more manual juggling?
  9. Adding an AssetContainer.moveAllFromScene method sounds possible. Could you expand more on your exact use case? After you create your assets in code, how are you planning to use them? Is your code already written with multiple scenes? Beyond the vrHelper issue you mentioned, the assetContainer can also be used to load assets to be used at a later time without being automatically added to the scene. It does seem like the AssetContainer will result in code that has been written with multiple scenes to need to be rewritten to use a single scene and multiple AssetContainers which isn't very obvious. Having the helper method you suggested could be good for alleviating that pain. Switching assets between scenes is rather complex due to how tightly coupled each asset is to the scene when created. Adding support for that would likely be good but the change would be large and difficult to avoid breakage. Having special cases for certain objects like the vrHelper to move between scenes automatically might also cause confusion to users not expecting that behavior. If you create a github issue for the moveAllFromScene I can take a look at implementing it when free.
  10. Yea, your approach seems reasonable. Currently all manual asset creation adds the asset to the scene. Previously there was some discussion about possibly making AssetContainer and scene inherit from a same base interface so either could be passed into an asset creating method but this was not implemented due to the somewhat unnatural complexity of the change. Question: does the asset container has all of the asset array properties of the scene object Yes, it should contain all the asset arrays the scene has. For now I would recommend manually adding your assets to the AssetContainer and then calling removeAllFromScene like you mentioned. See this