UBodySetup::AddShapesToRigidActor_AssumesLocked

Add the shapes defined by this body setup to the supplied PxRigidBody.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/BodySetup.h

Include

#include "PhysicsEngine/BodySetup.h"

Source

/Engine/Source/Runtime/Engine/Private/PhysicsEngine/BodySetup.cpp

Syntax

void AddShapesToRigidActor_AssumesLocked
(
    FBodyInstance * OwningInstance,
    FVector & Scale3D,
    UPhysicalMaterial * SimpleMaterial,
    TArray< UPhysicalMaterial * > & ComplexMaterials,
    TArray< FPhysicalMaterialMaskParams > & ComplexMaterialMasks,
    const FBodyCollisionData & BodyCollisionData,
    const FTransform & RelativeTM,
    TArray< FPhysicsShapeHandle > * NewShapes
)

Remarks

Add the shapes defined by this body setup to the supplied PxRigidBody.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss