3D planet gravity

Godot Version

v4.2.2.stable.official [15073afe3]


I am trying to use the Godot Area3D component to create a simple gravitational field around a sphere (a planet). I have set the options for the Area3D as in this screenshot:

When I run the game no gravity is exerted on a player object I place in it’s area.

I found this YouTube guide for Godot 3 which is roughly the same: https://youtu.be/_QHvKMRtJD0?si=6KZ_7MbL3TAHYG_D
But this doesn’t work either.

Is this expected behaviour for this component or am I missing something, I can provide a copy of the project if that helps.

Are you using Character3D? You need to use RigidBody3D or (there is an addon RigidCharacter3D) nodes as character 3D doesn’t interact with gravity unless programmed to do so.