FPhysAssetCreateParams

Parameters for PhysicsAsset creation

Unreal Engine C++ API Reference > Developer > PhysicsUtilities

References

   
Module PhysicsUtilities
Header /Engine/Source/Developer/PhysicsUtilities/Public/PhysicsAssetUtils.h
Include #include "PhysicsAssetUtils.h"

Syntax

struct FPhysAssetCreateParams  

Remarks

Parameters for PhysicsAsset creation

Variables

Type Name Description
TEnumAsByte< EA... 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< EP... 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< EP... VertWeight How vertices are mapped to bones when approximating them with bodies

Constructors

Type Name Description
  FPhysAssetCreateParams ()  

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library