unreal.NavigableConvexDecompositionOptions

class unreal.NavigableConvexDecompositionOptions(min_radius: float = 0.0, tolerance: float = 0.0, ignore_unreachable_internal_space: bool = False, custom_navigable_positions: None = [], unreachable_planes: None = [], tolerance_directional_scales: None = [])

Bases: StructBase

Settings to define the important regions for a convex decomposition to preserve for a given input shape.

Note: this is similar to FComputeNegativeSpaceOptions, but with better default behavior and more intuitive parameters.

C++ Source:

  • Plugin: GeometryScripting

  • Module: GeometryScriptingCore

  • File: CollisionFunctions.h

Editor Properties: (see get_editor_property/set_editor_property)

  • custom_navigable_positions (Array[Vector]): [Read-Write] Optional list of locations that we expect to be navigable

  • ignore_unreachable_internal_space (bool): [Read-Write] Whether to only consider navigable space that is accessible from outside the shape. (Note this parameter is called bOnlyConnectedToHull elsewhere.)

  • min_radius (double): [Read-Write] Minimum radius of characters/manipulators that should be able to navigate an input shape

  • tolerance (double): [Read-Write] Tolerance distance: convex decomposition should be no further than this from an input shape, in the navigable regions

  • tolerance_directional_scales (Array[NegativeSpaceDirectionalToleranceScale]): [Read-Write] Optionally scale the tolerance in custom directions

  • unreachable_planes (Array[Plane]): [Read-Write] Optional list of planes defining unreachable space (on their negative side) Use this for example to specify a ground plane, if a mesh will always be placed on ground and need not be navigable from below.

property custom_navigable_positions: None

[Read-Write] Optional list of locations that we expect to be navigable

Type:

(Array[Vector])

property ignore_unreachable_internal_space: bool

[Read-Write] Whether to only consider navigable space that is accessible from outside the shape. (Note this parameter is called bOnlyConnectedToHull elsewhere.)

Type:

(bool)

property min_radius: float

[Read-Write] Minimum radius of characters/manipulators that should be able to navigate an input shape

Type:

(double)

property tolerance: float

convex decomposition should be no further than this from an input shape, in the navigable regions

Type:

(double)

Type:

[Read-Write] Tolerance distance

property tolerance_directional_scales: None

[Read-Write] Optionally scale the tolerance in custom directions

Type:

(Array[NegativeSpaceDirectionalToleranceScale])

property unreachable_planes: None

[Read-Write] Optional list of planes defining unreachable space (on their negative side) Use this for example to specify a ground plane, if a mesh will always be placed on ground and need not be navigable from below.

Type:

(Array[Plane])