How do I deal with consecutive ' Condition Math::is_nan(x.v) is true ' error reports?
Hello, I am currently working on a 2.5D Action Platformer for mobile devices.
Recently I have encountered an issue where whenever I call move_and_slide in my player's script 'multi_form_char.gd', an error is logged:
Condition ' Math::is_nan(x.v) ' is true
Whenever this error is printed the character seems to think that the platform is right beneath it.
Interestingly, this collision still happens no matter if the character's collision mask and the platform's collision layers do not overlap.
If necessary, here is a GitHub link to the code, the most relevant build is in the rebuild branch: