Babylon Sandbox vs. Standard Import - >35 FPS difference

Yo man! I am happy to hear that :+1:

1 Like

You can avoid Vue injecting reactive properties by setting _isVue = true on your scene class/object (ie. Whatever you are using to wrap babylon).

This was a pretty easy solution for me.

1 Like

I didn’t know about this option and it’s a clear winner when someone can’t handle the reactive properties correctly, no questions :smiley: :smiley: :smiley: My solution was created to control the scene from any source (we use sensors to control the scene) so I started with the messaging stuff with no Vue reactivity problems in mind. And we wanted loose coupling between the frontend framework and BJS so we can switch it easily. And it also solves the reactivity problem. :slight_smile:

Thanks for sharing!

2 Likes