UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FInitBodySpawnParams Struct Reference

#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
 

Detailed Description

Helper struct to specify spawn behavior

Constructor & Destructor Documentation

◆ FInitBodySpawnParams() [1/2]

FInitBodySpawnParams::FInitBodySpawnParams ( const UPrimitiveComponent *  PrimComp)

◆ FInitBodySpawnParams() [2/2]

FInitBodySpawnParams::FInitBodySpawnParams ( bool  bInStaticPhysics,
bool  bInPhysicsTypeDeterminesSimulation 
)

Member Data Documentation

◆ Aggregate

FPhysicsAggregateHandle FInitBodySpawnParams::Aggregate

An aggregate to place the body into

◆ bPhysicsTypeDeterminesSimulation

bool FInitBodySpawnParams::bPhysicsTypeDeterminesSimulation

Whether to use the BodySetup's PhysicsType to override if the instance simulates

◆ bStaticPhysics

bool FInitBodySpawnParams::bStaticPhysics

Whether the created physics actor will be static


The documentation for this struct was generated from the following files: