unreal.ChaosCollisionEventData

class unreal.ChaosCollisionEventData(location: Vector = Ellipsis, normal: Vector = Ellipsis, velocity1: Vector = Ellipsis, velocity2: Vector = Ellipsis, mass1: float = 0.0, mass2: float = 0.0, impulse: Vector = Ellipsis)

Bases: StructBase

A collision event data structure

C++ Source:

  • Module: GeometryCollectionEngine

  • File: ChaosCollisionEventFilter.h

Editor Properties: (see get_editor_property/set_editor_property)

  • impulse (Vector): [Read-Write] Impulse: The accumulated impulse vector of the collision event

  • location (Vector): [Read-Write] Location: Location of the collision event

  • mass1 (float): [Read-Write] Mass 1: The mass of object 1 of the collision event

  • mass2 (float): [Read-Write] Mass 2: The mass of object 2 of the collision event

  • normal (Vector): [Read-Write] Normal: Normal of the collision event

  • velocity1 (Vector): [Read-Write] Velocity 1: The velocity of object 1 of the collision event

  • velocity2 (Vector): [Read-Write] Velocity 2: The velocity of object 2 of the collision event

property impulse: Vector

[Read-Only] Impulse: The accumulated impulse vector of the collision event

Type:

(Vector)

property location: Vector

[Read-Only] Location: Location of the collision event

Type:

(Vector)

property mass1: float

[Read-Only] Mass 1: The mass of object 1 of the collision event

Type:

(float)

property mass2: float

[Read-Only] Mass 2: The mass of object 2 of the collision event

Type:

(float)

property normal: Vector

[Read-Only] Normal: Normal of the collision event

Type:

(Vector)

property velocity1: Vector

[Read-Only] Velocity 1: The velocity of object 1 of the collision event

Type:

(Vector)

property velocity2: Vector

[Read-Only] Velocity 2: The velocity of object 2 of the collision event

Type:

(Vector)