Coconote
AI notes
AI voice & video notes
Try for free
🎮
Integrating 3D Physics in GDevelop
Apr 19, 2025
Notes on 3D Physics in GDevelop
Overview
GDevelop now includes 3D physics capabilities.
The physics engine used is
Jolt
, an open-source 3D physics engine.
Jolt is already being utilized in various AAA games.
Adding 3D Physics Behavior
Steps to add 3D physics to an object:
Create a 3D object (e.g., a box).
Add the
3D physics behavior
to the object.
Choose the type of object:
Dynamic
Static
Kinematic
Select the shape of the object (options: Sphere, Box, Capsule, Cylinder).
Capsule and Cylinder are common for character models.
Adjust settings such as density and gravity scale.
Click
Apply
to finalize.
Example Setup
The ground is given the static physics behavior.
A camera box is used for scene control.
Previewing the game shows boxes falling and interacting with physics.
Physics Interaction
Behavior of 3D Objects:
Works with both 3D boxes and 3D models from the asset store.
Example: Adding a large sphere and adjusting its density can affect how it interacts with other objects.
Lowering the density can result in noticeable interaction (e.g., getting pushed off the map).
Game Mechanics
Explore more game-related mechanics using:
Actions and conditions associated with the 3D physics behavior.
Other 3D behaviors to enhance gameplay experience.
Example Game Mechanics
Example setup includes:
Third-person camera extension.
3D platformer character extension.
Ability to push boxes and interact with the game environment.
Future Changes
The 3D physics behavior is relatively new, and changes are expected in future updates.
Resources
To explore more examples, create a new game in GDevelop and search for
3D
under the create tab.
Additional updated 3D examples are available, including the
Physics Character 3D Behavior
.
For more learning resources, check out the associated playlist.
📄
Full transcript