test_move() asking for 3 arguments when using KinematicBody2D?

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

Using 3.1.0 alpha.

Screenshot of Error

I get this error when using test_move() on a kinematic2D node. Documentation states that only 2 arguments are needed so…?

:bust_in_silhouette: Reply From: Socrates

According to the source code there is a third parameter called:

bool p_infinite_inertia

Not entirely sure what it does, but if you just test it as true and false it should be easy to figure out. Pretty sure the docs are only for 3.0 and this is something that has changed in 3.1.