Physics Process Function

2025/12/27

Type
Learning Resource
Format
Glossary Article
Version
General
Subject Tags
Code
Assets
All else
Copyright 2016-2026, GDQuest
Created
2026/02/16
Updated
2025/12/27

Physics Process Function

_physics_process() is a special function in the Godot engine that is called every physics frame. Contrary to the _process() function, which is called as many times as possible, the engine tries to ensure that _physics_process() is called at a fixed interval, and that the delta time passed to it is constant.

You should use _physics_process() for all interactions between elements that involve collisions, forces, or other physics-related calculations. For example, movement, jumping, shooting, and so on should always be handled in the physics process.

Visually, using delta time to obtain framerate independence is sufficient. But for physical interactions, a changing delta value may make the calculations inconsistent.

Become an Indie Gamedev with GDQuest!

Don't stop here. Step-by-step tutorials are fun but they only take you so far.

Try one of our proven study programs to become an independent Gamedev truly capable of realizing the games you’ve always wanted to make.

Nathan

Founder and teacher at GDQuest
  • Starter Kit
  • Learn Gamedev from Zero
Check out GDSchool

You're welcome in our little community

Get help from peers and pros on GDQuest's Discord server!

20,000 membersJoin Server

Contribute to GDQuest's Free Library

There are multiple ways you can join our effort to create free and open source gamedev resources that are accessible to everyone!