BABYLON.Matrix.Use64Bits

Hi, I just need really quick help with this;

when I use BABYLON.Matrix.Use64Bits = true;
I get this:

Uncaught TypeError: Cannot set property Use64Bits of function e(){this._isIdentity=!1,this._isIdentityDirty=!0,this._isIdentity3x2=!0,this._isIdentity3x2Dirty=!0,th...<omitted>...)} which has only a getter

But it works in the playground.

That is because it is only a getter :slight_smile:

It doesn’t work on the playground, it simply doesn’t fail. To get this to work you will need to use the SetMatrixPrecision function on the PerformanceConfigurator (which is a hidden public class), or use the useHighPrecisionMatrix option when constructing the engine (which will be the best way to achieve that)

3 Likes

Thanks so much I saw it in the documentation under engine options