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
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