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] Impulse: The accumulated impulse vector of the collision eventlocation
(Vector): [Read-Write] Location: Location of the collision eventmass1
(float): [Read-Write] Mass 1: The mass of object 1 of the collision eventmass2
(float): [Read-Write] Mass 2: The mass of object 2 of the collision eventnormal
(Vector): [Read-Write] Normal: Normal of the collision eventvelocity1
(Vector): [Read-Write] Velocity 1: The velocity of object 1 of the collision eventvelocity2
(Vector): [Read-Write] Velocity 2: The velocity of object 2 of the collision event
- property impulse¶
[Read-Only] Impulse: The accumulated impulse vector of the collision event
- Type
(Vector)