I am getting Matrix3.getInverse(): can't invert matrix, determinant is 0 three.js 3976 error when I am trying to scale a cube object.
var object = new.THREE.Mesh(geometry, material)
xScale = 0.1;
object.scale.x = object.scale.y = object.scale.z = xScale;
Could someone help me out of this.
Matrix3.getInverse(): can't invert matrix, determinant is 0
usually happens when either the scale.x
, scale.y
or scale.z
are 0. Make sure you're not scaling the object to 0.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With