class

FPhysicsStepBodies

The body surface a per-step callback may use. Under p.AsyncTick and the overlapped step a callback runs on the worker that owns Jolt, where the locking body interface (and with it every PhysicsWorld entry point) would join the very job it runs in. These calls go to Jolt's no-lock interface: legal there because nothing else touches the bodies while the step is between its own phases, and only there. A stale or removed body is skipped, never dereferenced. Never reach the ECS from a callback.

Module
Physics
Header
#include "Physics/PhysicsWorld.h"
Namespace
Mowo

Public functions

ReturnsNameDescription
boolIsValid
boolGetPose
Vec3GetLinearVelocity
Vec3GetAngularVelocity
Vec3GetCenterOfMass
voidAddForceApplied to the step that runs right after the callback, then cleared by Jolt, like every force.
voidAddForceAtPosition
voidAddTorque

Function details

IsValid

C++
bool IsValid(FPhysicsBodyId bodyID) const

GetPose

C++
bool GetPose(FPhysicsBodyId bodyID, Vec3& outPosition, Quat& outRotation) const

GetLinearVelocity

C++
Vec3 GetLinearVelocity(FPhysicsBodyId bodyID) const

GetAngularVelocity

C++
Vec3 GetAngularVelocity(FPhysicsBodyId bodyID) const

GetCenterOfMass

C++
Vec3 GetCenterOfMass(FPhysicsBodyId bodyID) const

AddForce

C++
void AddForce(FPhysicsBodyId bodyID, Vec3 force) const

Applied to the step that runs right after the callback, then cleared by Jolt, like every force.

AddForceAtPosition

C++
void AddForceAtPosition(FPhysicsBodyId bodyID, Vec3 force, Vec3 position) const

AddTorque

C++
void AddTorque(FPhysicsBodyId bodyID, Vec3 torque) const
Generated from Physics/PhysicsWorld.h via physics.json · Dec 5, 2026Version 1.1.0