unreal.ChaosCollisionEventRequestSettings

class unreal.ChaosCollisionEventRequestSettings(max_number_results: int = 0, min_mass: float = 0.0, min_speed: float = 0.0, min_impulse: float = 0.0, max_distance: float = 0.0, sort_method: ChaosCollisionSortMethod = Ellipsis)

Bases: StructBase

Settings used to define collision event requests

C++ Source:

  • Module: GeometryCollectionEngine

  • File: ChaosCollisionEventFilter.h

Editor Properties: (see get_editor_property/set_editor_property)

  • max_distance (float): [Read-Write] The maximum distance threshold for the results.

  • max_number_results (int32): [Read-Write] The maximum number of results to return.

  • min_impulse (float): [Read-Write] The minimum impulse threshold for the results.

  • min_mass (float): [Read-Write] The minimum mass threshold for the results (compared with min of particle 1 mass and particle 2 mass).

  • min_speed (float): [Read-Write] The min speed threshold for the results (compared with min of particle 1 speed and particle 2 speed).

  • sort_method (ChaosCollisionSortMethod): [Read-Write] The method used to sort the collision events.

property max_distance: float

[Read-Write] The maximum distance threshold for the results.

Type:

(float)

property max_number_results: int

[Read-Write] The maximum number of results to return.

Type:

(int32)

property min_impulse: float

[Read-Write] The minimum impulse threshold for the results.

Type:

(float)

property min_mass: float

[Read-Write] The minimum mass threshold for the results (compared with min of particle 1 mass and particle 2 mass).

Type:

(float)

property min_speed: float

[Read-Write] The min speed threshold for the results (compared with min of particle 1 speed and particle 2 speed).

Type:

(float)

property sort_method: ChaosCollisionSortMethod

[Read-Write] The method used to sort the collision events.

Type:

(ChaosCollisionSortMethod)