HIBIIRO
Getting Started with RigidBody3D Physics in Godot 4.3
Introduction
Here is a quick reference note for myself on setting up basic 3D rigid-body physics in Godot 4.3.
Environment
Godot 4.3
Creating the Project
Start by creating a new Godot project.

Creating the Scenes
First, create a 3D main scene and save it.

Child Scene (RigidBody3D Box)
Next, create a new scene with a RigidBody3D root node (named Box here).
Add a MeshInstance3D and a CollisionShape3D as children of the RigidBody3D.

Assign a box shape to both MeshInstance3D and CollisionShape3D.
The yellow warning triangle disappears as soon as you assign a shape to CollisionShape3D.

If you leave both at their default `1m × 1m × 1m` box size, they match automatically without resizing.
Parent Scene Setup & Bounce
In the main scene, add a camera, a static floor, and a directional light, then instantiate the Box child scene above the floor.


With default settings, running the project drops the box onto the floor and stops flat.


By adding a new PhysicsMaterial in the Box’s Inspector and increasing the Bounce value, the box bounces when it hits the floor.
Adding Input Actions
Open Project → Project Settings → Input Map, add a new action named push, and bind it to the Space key.

Applying Impulses in GDScript
Now attach a new GDScript to the Box node.


extends RigidBody3D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
pass # Replace with function body.
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(delta: float) -> void:
pass
Update _process so pressing the Space key (`push`) applies an upward impulse via apply_central_impulse:
func _process(delta: float) -> void:
# Trigger when the action button is pressed
if Input.is_action_just_pressed("push"):
# Apply a linear impulse (+Y upward) without affecting rotation
apply_central_impulse(Vector3(0, 10, 0))Run the project and press Space to launch the box upward!

You can combine other methods listed in the official RigidBody3D class reference (such as torque impulses or offset forces) to create tumbling and spinning behaviors:
