unreal.DataprepSetConvexDecompositionCollisionOperation

class unreal.DataprepSetConvexDecompositionCollisionOperation(outer=None, name='None')

Bases: unreal.DataprepOperation

For each static mesh to process, replace the existing static mesh’s collision setup with a convex decomposition one computed using the Hull settings

C++ Source:

  • Plugin: DataprepEditor

  • Module: DataprepLibraries

  • File: DataprepOperations.h

Editor Properties: (see get_editor_property/set_editor_property)

  • hull_count (int32): [Read-Write] Maximum number of convex pieces that will be created

  • hull_precision (int32): [Read-Write] Number of voxels to use when generating collision

  • max_hull_verts (int32): [Read-Write] Maximum number of vertices allowed for any generated convex hulls

property hull_count

[Read-Write] Maximum number of convex pieces that will be created

Type

(int32)

property hull_precision

[Read-Write] Number of voxels to use when generating collision

Type

(int32)

property max_hull_verts

[Read-Write] Maximum number of vertices allowed for any generated convex hulls

Type

(int32)