unreal.ChaosCollisionEventData

class unreal.ChaosCollisionEventData(location=[0.0, 0.0, 0.0], normal=[0.0, 0.0, 0.0], velocity1=[0.0, 0.0, 0.0], velocity2=[0.0, 0.0, 0.0], mass1=0.0, mass2=0.0, impulse=[0.0, 0.0, 0.0])

Bases: unreal.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] The accumulated impulse vector of the collision event

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

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

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

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

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

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

property impulse

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

Type

(Vector)

property location

[Read-Only] Location of the collision event

Type

(Vector)

property mass1

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

Type

(float)

property mass2

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

Type

(float)

property normal

[Read-Only] Normal of the collision event

Type

(Vector)

property velocity1

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

Type

(Vector)

property velocity2

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

Type

(Vector)