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

Compiles all of the common data created from a collision. More...

Public Member Functions

 CollisionResultData (CollisionInputData collisionData, ImpactVelocityData velocityData, MaterialCompositionData materialCompositionData, CollisionObjectPair collisionObjectPair)
 
override string ToString ()
 

Public Attributes

Vector3 Point
 The contact point.
 
Vector3 Normal
 The contact normal.
 
Vector3 Velocity
 The collision velocity.
 
float MaterialComposition
 How much influence the impact material has at the contact point.
 
CollisionType CollisionType
 The type of collision.
 
GameObject TriggerObject
 The object that triggered the collision.
 
GameObject HitObject
 The object being collided with.
 

Detailed Description

Compiles all of the common data created from a collision.