Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/BodyInstance.h |
Include |
#include "PhysicsEngine/BodyInstance.h" |
Source |
/Engine/Source/Runtime/Engine/Private/PhysicsEngine/BodyInstance.cpp |
void InitBody
(
UBodySetup * Setup,
const FTransform & Transform,
UPrimitiveComponent * PrimComp,
FPhysScene * InRBScene,
const FInitBodySpawnParams & SpawnParams
)
Initialise a single rigid body (this FBodyInstance) for the given body setup
Parameter |
Description |
---|---|
Setup |
The setup to use to create the body |
Transform |
Transform of the body |
PrimComp |
The owning component |
InRBScene |
The physics scene to place the body into |
SpawnParams |
The parameters for determining certain spawn behavior |
InAggregate |
An aggregate to place the body into |