Navigation
API > API/Runtime > API/Runtime/Engine
Helper struct to specify spawn behavior
| Name | FInitBodySpawnParams |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/BodyInstance.h |
| Include Path | #include "PhysicsEngine/BodyInstance.h" |
Syntax
struct FInitBodySpawnParams
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FInitBodySpawnParams
(
const UPrimitiveComponent* PrimComp |
PhysicsEngine/BodyInstance.h | ||
FInitBodySpawnParams
(
bool bInStaticPhysics, |
PhysicsEngine/BodyInstance.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Aggregate | FPhysicsAggregateHandle | An aggregate to place the body into | PhysicsEngine/BodyInstance.h | |
| bPhysicsTypeDeterminesSimulation | bool | Whether to use the BodySetup's PhysicsType to override if the instance simulates | PhysicsEngine/BodyInstance.h | |
| bStaticPhysics | bool | Whether the created physics actor will be static | PhysicsEngine/BodyInstance.h |