Interpolating a StaticBody2D's position using set_global_position.

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

Is it convenient to use a StaticBody2D instead of a KinematicBody2D if you never make use of move_and_collide/move_and_slide but you solely interpolate its position using set_global_position?

I’m not sure StaticBody2D is designed to be moved at all. If it works, good, but it’s not what it was designed for. Things colliding with it might not properly interact.

Zylann | 2020-03-09 19:38