Search the Community
Showing results for tags 'core'.
-
I had to spend a lot of time to understand where my working code got ... working no more. It came out that this line: var worldVector2 = BABYLON.Vector3.Unproject( screenVector2, ViewportWidth, ViewportHeight, wMCamera, vMScene, pMScene );modifies the vector "screenVector2". Reading the documentation it's not apparent, and seeing the function returns a Vector3 lend me to expect it to be the only result. Instead the passed vector3 instance screenVector2 is modified too. I think it should not behave like that .... is it for performance reasons or a bug ? If it is not a bug, can the documentation report which params and how are modified ?
-
I'd like to implement my pause screen so I'm looking for the line in the code that calls arcade physics update. Any ideas?