Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | m5tuff |
Hi, I ran into some issues with my character controller, and I can’t find out why it happens. You can download the project here: ThirdPersonFighter.zip - Google Drive
To reproduce:
Start project in Godot 3.0, F5 to start the game, run with WASD and use mouse to look around.
After 5-10 seconds the movement vector will fail to rotate with the character and errors will appear in the debugger with every frame.
Error message traced to line 205:
0:00:18:0799 - Condition ' is_rotation() == false ' is true. returned: euler
----------
Type:Error
Description:
Time: 0:00:18:0799
C Error: Condition ' is_rotation() == false ' is true. returned: euler
C Source: core\math\matrix3.cpp:462
C Function: Basis::get_euler_yxz
Full character script: player.gd · GitHub
Thanks,
UPDATE: made github thread Error from get_transform().basis.get_euler() after some play-time · Issue #16963 · godotengine/godot · GitHub
cooked down issue to absolute basics, see in github thread
m5tuff | 2018-02-24 00:35