Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/PhysicsEngine/BodySetup.h |
Include |
#include "PhysicsEngine/BodySetup.h" |
Source |
/Engine/Source/Runtime/Engine/Private/PhysicsEngine/PhysUtils.cpp |
Converts a UModel to a set of convex hulls for simplified collision. Any convex elements already in this BodySetup will be destroyed. WARNING: the input model can have no single polygon or set of coplanar polygons which merge to more than FPoly::MAX_VERTICES vertices.
true on success, false on failure because of vertex count overflow.
Parameter |
Description |
---|---|
InModel |
The input BSP. |
bRemoveExisting |
If true, clears any pre-existing collision |