Navigation
API > API/Developer > API/Developer/PhysicsUtilities
References
| Module | PhysicsUtilities |
| Header | /Engine/Source/Developer/PhysicsUtilities/Public/PhysicsAssetUtils.h |
| Include | #include "PhysicsAssetUtils.h" |
Syntax
USTRUCT ()
struct FPhysAssetCreateParams
Remarks
Parameters for PhysicsAsset creation
Variables
| Type | Name | Description | |
|---|---|---|---|
| TEnumAsByte< EAngularConstraintMotion > | AngularConstraintMode | The type of angular constraint to create between bodies | |
| bool | bAutoOrientToBone | Whether to automatically orient the created bodies to their corresponding bones | |
| bool | bBodyForAll | Forces creation of a body for each bone | |
| bool | bCreateConstraints | Whether to create constraints between adjacent created bodies | |
| bool | bDisableCollisionsByDefault | Whether to disable collision of body with other bodies on creation | |
| bool | bWalkPastSmall | Whether to skip small bones entirely (rather than merge them with adjacent bones) | |
| TEnumAsByte< EPhysAssetFitGeomType > | GeomType | The geometry type that should be used when creating bodies | |
| int32 | HullCount | When creating multiple convex hulls, the maximum number that will be created. | |
| int32 | MaxHullVerts | When creating convex hulls, the maximum verts that should be created | |
| meta | When creating level sets, the grid resolution to use | ||
| float | MinBoneSize | Bones that are shorter than this value will be ignored for body creation | |
| float | MinWeldSize | Bones that are smaller than this value will be merged together for body creation | |
| TEnumAsByte< EPhysAssetFitVertWeight > | VertWeight | How vertices are mapped to bones when approximating them with bodies |
Constructors
| Type | Name | Description | |
|---|---|---|---|