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:
StructBaseSettings 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 navigableignore_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 shapetolerance(double): [Read-Write] Tolerance distance: convex decomposition should be no further than this from an input shape, in the navigable regionstolerance_directional_scales(Array[NegativeSpaceDirectionalToleranceScale]): [Read-Write] Optionally scale the tolerance in custom directionsunreachable_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
- 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