Kinematic Rigidbody2D move only after on second contact with CharacterBody2D

4.5.1

Hi everyone. I have a charcterbody2D with that code called within physic_process:

```
func handle_slide_collisions(push_force:Vector2, delta:float):
for i in node.get_slide_collision_count():
var collision = node.get_slide_collision(i)
var collider = collision.get_collider()
var normal = collision.get_normal()
if collider is RigidBody2D:
collider.pushed_velocity = push_force * -normal

and there the code of my rigidbody:

func _physics_process(delta: float) -> void:
	move_and_collide((velocity + pushed_velocity) * delta)

why the rigibody moves only on the second contact with my CharacterBody2D ?

I check on the remote server and the rigidbody is not in sleeping mode. I also set its physic_process to be processed after characterBody2D to be sure it use the right value.

best regards,

found the bug.
that was in my CharacerBody2D code:


		
	move_and_slide()

	if is_on_floor():
		Player.handle_slide_collisions(velocity, delta)

the func handle_slide_collisions must be called before move_and_slide()