How to give a character body physics if I don't use the starting script

Godot Version

4

Question

I didn't use the character body script and just made one from scratch but I'm not sure how to give my character physics

From my understanding, a CharacterBody 2D or 3D node can only be moved and manipulated via code.

If you want something that has physics built in, you should make your root node a RigidBody 2D or 3D node.

More info via the documentation:

I don’t want physics built in I just want to figure out what that code is-!!! I got it! I forgot to add move and slide!!! Alt account

1 Like

Classic mistake. I swear that happens to every Godot developer. Including me.

Also, mark your reply as the solution with your main account.
(The checkmark icon next to the like button)

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