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