Player collision with car and other kinematic body

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

I have a problem. I would like a player to collide with objects like a car or a box, but when I use rigiBody or vehicleBody and jump with kinematicBody on them, they slide into the ground and player.

Photo by

:bust_in_silhouette: Reply From: kidscancode

This is because when you move a kinematic body, there is a parameter called infinite_inertia, which is true by default.