unreal.ChaosCollisionEventRequestSettings

class unreal.ChaosCollisionEventRequestSettings(max_number_results=0, min_mass=0.0, min_speed=0.0, min_impulse=0.0, max_distance=0.0, sort_method=ChaosCollisionSortMethod.SORT_BY_HIGHEST_MASS)

Bases: unreal.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

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

Type

(float)

property max_number_results

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

Type

(int32)

property min_impulse

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

Type

(float)

property min_mass

[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

[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

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

Type

(ChaosCollisionSortMethod)