![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
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.
![]() |
Attention | Topic was automatically imported from the old Question2Answer platform. |
![]() |
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.
![]() |
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.