Is there a way to make gravity affect a kinetic body in the 3d game?

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

Okay so I am making a simple 3d game in Godot where the player controls a sphere and rolls around collecting cubes while trying not to get a game over. I just realized while making level 2 that since I used a kinematic body for my character, it isn’t effected by gravity. Is there a way to make a kinematic body fall with gravity, or do I need to make it a rigid body and start my script over? If I would have to use a rigid body is there instead a simple way to make it to where the player loses if they “fall” off the platform wither checking for the y position since the player isn’t affected by gravity as a kinematic body?

:bust_in_silhouette: Reply From: kidscancode

To make a kinematic body fall, you increase its velocity in the y direction every frame. There are many kinematic body examples out there:

2D, but the principle is exactly the same:

Official godot-demos project:

Video tutorial: