PhysicsUtilities

Windows
MacOS
Linux

Classes

Name

Description

Public struct

FPhysAssetCreateParams

Parameters for PhysicsAsset creation

Public class

IDecomposeMeshToHullsAsync

Enums

Functions

Name Description

Public function

IDecomposeMe...

 

CreateIDecomposeMeshToHullAsync()

Creates the interface to the asynchronous convex decomposition tool chain.

Public function

void

 

DecomposeMeshToHulls

(
    UBodySetup* InBodySetup,
    const TArray< FVector3f >& InVerti...,
    const TArray< uint32 >& InIndices,
    uint32 InHullCount,
    int32 InMaxHullVerts,
    uint32 InResolution
)

Utility for turning arbitrary mesh into convex hulls.

Public function

bool

 

FPhysicsAssetUtils::CreateCollisionFromBones

(
    UBodySetup* bs,
    USkeletalMesh* skelMesh,
    const TArray< int32 >& BoneIndices,
    FPhysAssetCreateParams& Params,
    const FBoneVertInfo& Info
)

Replaces any collision already in the BodySetup with an auto-generated one using the parameters provided.