![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <BodyInstance.h>
Public Member Functions | |
| ENGINE_API | FInitBodySpawnParams (const UPrimitiveComponent *PrimComp) |
| ENGINE_API | FInitBodySpawnParams (bool bInStaticPhysics, bool bInPhysicsTypeDeterminesSimulation) |
Public Attributes | |
| bool | bStaticPhysics |
| bool | bPhysicsTypeDeterminesSimulation |
| FPhysicsAggregateHandle | Aggregate |
Helper struct to specify spawn behavior
| FInitBodySpawnParams::FInitBodySpawnParams | ( | const UPrimitiveComponent * | PrimComp | ) |
| FInitBodySpawnParams::FInitBodySpawnParams | ( | bool | bInStaticPhysics, |
| bool | bInPhysicsTypeDeterminesSimulation | ||
| ) |
| FPhysicsAggregateHandle FInitBodySpawnParams::Aggregate |
An aggregate to place the body into
| bool FInitBodySpawnParams::bPhysicsTypeDeterminesSimulation |
Whether to use the BodySetup's PhysicsType to override if the instance simulates
| bool FInitBodySpawnParams::bStaticPhysics |
Whether the created physics actor will be static