A KinematicBody doesn’t have a velocity property. Kinematic bodies only move based on your code, so you must provide a velocity and implement movement yourself.
Ok, thanks. Are there any nodes that have a velocity property?
Elias | 2018-10-28 08:25
RigidBody2D is a node with a physics that is calculated by the engine. It has a linear_velocity but you can’t set it directly. There is information about it here: Physics Introduction