unreal.SolverCollisionFilterSettings

class unreal.SolverCollisionFilterSettings(filter_enabled: bool = False, min_mass: float = 0.0, min_speed: float = 0.0, min_impulse: float = 0.0)

Bases: StructBase

Solver Collision Filter Settings

C++ Source:

  • Module: Chaos

  • File: SolverEventFilters.h

Editor Properties: (see get_editor_property/set_editor_property)

  • filter_enabled (bool): [Read-Write] Filter Enabled: Filter is enabled.

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

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

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

property filter_enabled: bool

[Read-Write] Filter Enabled: Filter is enabled.

Type:

(bool)

property min_impulse: float

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

Type:

(float)

property min_mass: float

[Read-Write] Min Mass: 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] Min Speed: The min velocity threshold for the results (compared with min of particle 1 speed and particle 2 speed).

Type:

(float)