Impact CFX API 1.5.0
Comprehensive API documentation for Impact CFX - Collision Effects System
Loading...
Searching...
No Matches
ImpactCFX.CollisionInputData Struct Reference

Holds input data suitable for jobs for a collision event. More...

Public Member Functions

override string ToString ()
 

Public Attributes

CollisionType CollisionType
 The type of collision.
 
int TriggerObjectID
 The ID of the object that triggered the collision.
 
int HitObjectID
 The ID of the object being collided with.
 
ArrayChunk TriggerObjectMaterialCompositionArrayChunk
 Chunk of the material composition array used to store material data for the object that triggered the collision.
 
ArrayChunk HitObjectMaterialCompositionArrayChunk
 Chunk of the material composition array used to store material data for the object that was hit.
 
float3 Point
 The contact point.
 
float3 Normal
 The contact normal.
 
CollisionVelocityMethod CollisionVelocityMethod
 The method to use for calculating the collision velocity.
 
float3 CollisionMessageVelocity
 The collision velocity provided by the collision message.
 
float Priority
 The priority of the collision.
 

Detailed Description

Holds input data suitable for jobs for a collision event.