Navigation
Unreal Engine C++ API Reference > Developer > PhysicsUtilities
References
Module | PhysicsUtilities |
Header | /Engine/Source/Developer/PhysicsUtilities/Public/ConvexDecompTool.h |
Include | #include "ConvexDecompTool.h" |
Source | /Engine/Source/Developer/PhysicsUtilities/Private/ConvexDecompTool.cpp |
[IDecomposeMeshToHullsAsync](API\Developer\PhysicsUtilities\IDecomposeMeshToHullsAsync) * CreateIDecomposeMeshToHullAsync()
Remarks
Utility for turning arbitrary mesh into convex hulls. InBodySetup BodySetup that will have its existing hulls removed and replaced with results of decomposition.
Parameters
Name | Description |
---|---|
InVertices | Array of vertex positions of input mesh |
InIndices | Array of triangle indices for input mesh |
InAccuracy | Value between 0 and 1, controls how accurate hull generation is |
InMaxHullVerts | Number of verts allowed in a hull |