Which of physics node should I use only for gravity?

Godot Version

v4.3.stable.steam

Question

Well, I have an interactable object (Area3D) which won’t work with physics except gravity, I guess, using RigibBody3D for only gravity is not a good idea (maybe I’m, wrong)

Should I use CharactersBody for it and implement gravity through code? Or maybe there’re any options to do it with Area3D?

I think in this case the characterbody is the best option. If you want to do it with a area3d you have to check when its on the ground to stop it from falling through it

I believe so, but won’t it be too much for only implementing gravity?

What do you mean by too much? You can remove it from any collisionlayer and have it only see the ground-layer.

Theres also a animatablebody3d but im not sure if it collides with the ground when you move it

About optimisation, like if I had 10-15 CharactersBody

Maybe you would feel better with a rigidbody3d in freezemode?

Just freeze it when it reaches the ground

1 Like

Well, I’ll try CharactersBody, don’t like RigibBody))
Thanks)

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.