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
| Returns | Name | Description |
|---|---|---|
bool | IsValid | |
bool | GetPose | |
Vec3 | GetLinearVelocity | |
Vec3 | GetAngularVelocity | |
Vec3 | GetCenterOfMass | |
void | AddForce | Applied to the step that runs right after the callback, then cleared by Jolt, like every force. |
void | AddForceAtPosition | |
void | AddTorque |
Function details
IsValid
C++
bool IsValid(FPhysicsBodyId bodyID) constGetPose
C++
bool GetPose(FPhysicsBodyId bodyID, Vec3& outPosition, Quat& outRotation) constGetLinearVelocity
C++
Vec3 GetLinearVelocity(FPhysicsBodyId bodyID) constGetAngularVelocity
C++
Vec3 GetAngularVelocity(FPhysicsBodyId bodyID) constGetCenterOfMass
C++
Vec3 GetCenterOfMass(FPhysicsBodyId bodyID) constAddForce
C++
void AddForce(FPhysicsBodyId bodyID, Vec3 force) constApplied 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) constAddTorque
C++
void AddTorque(FPhysicsBodyId bodyID, Vec3 torque) constGenerated from Physics/PhysicsWorld.h via physics.json · Dec 5, 2026Version 1.1.0