Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/PhysicsEngine > API/Runtime/Engine/PhysicsEngine/UBodySetup
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 |
void UpdateTriMeshVertices
&40;
const TArray< FVector > & NewPositions
&41;
Remarks
Updates the tri mesh collision with new positions, and refits the BVH to match. This is not a full collision cook, and so you can only safely move positions and not change the structure
Parameters
| Name | Description |
|---|---|
| NewPositions | The new mesh positions to use |