What does this mean?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By jenza

“core/math/transform_2d.cpp:51 - Condition “det == 0” is true.”

This statement appears when I run my game on the output window.

:bust_in_silhouette: Reply From: spaceyjase

This is a message from the engine, specifically when calculating basis_determinant from a transform.looking_at; if the result is 0 it prints the statement (as this will lead to a divide by zero).

It may be something you do in your game; unless there’s some unexpected behaviour, you may wish to ignore it (but could lead to issues for your players). Perhaps examining code specific to transform.looking_at will resolve the error too.