Impact CFX API 1.5.0
Comprehensive API documentation for Impact CFX - Collision Effects System
|
Wraps data for a single 3D or 2D contact point. More...
Public Member Functions | |
ImpactContactPoint (ContactPoint contactPoint3D, Vector3 collisionMessageVelocity) | |
ImpactContactPoint (ContactPoint2D contactPoint2D, Vector3 collisionMessageVelocity) | |
ImpactContactPoint (RaycastHit raycastHit3D, bool invert, GameObject sourceObject=null) | |
ImpactContactPoint (RaycastHit2D raycastHit2D, bool invert, GameObject sourceObject=null) | |
ImpactContactPoint (Vector3 point, Vector3 normal, GameObject triggerObject, Collider hitCollider3D, Vector3 collisionMessageVelocity) | |
ImpactContactPoint (Vector3 point, Vector3 normal, GameObject triggerObject, Collider2D hitCollider2D, Vector3 collisionMessageVelocity) | |
ImpactContactPoint (Vector3 point, Vector3 normal, GameObject triggerObject, PhysicsType physicsType) | |
int | GetTriggerObjectPhysicsMaterialID () |
Get the ID of the physics material belonging to the collider that triggered the collision. | |
int | GetHitObjectPhysicsMaterialID () |
Get the ID of the physics material belonging to the collider being collided with. | |
int | GetTriggerObjectID () |
Get the ID the object that triggered the collision. | |
int | GetHitObjectID () |
Get the ID the object that was hit. | |
Wraps data for a single 3D or 2D contact point.
int ImpactCFX.ImpactContactPoint.GetHitObjectID | ( | ) |
Get the ID the object that was hit.
int ImpactCFX.ImpactContactPoint.GetHitObjectPhysicsMaterialID | ( | ) |
Get the ID of the physics material belonging to the collider being collided with.
int ImpactCFX.ImpactContactPoint.GetTriggerObjectID | ( | ) |
Get the ID the object that triggered the collision.
int ImpactCFX.ImpactContactPoint.GetTriggerObjectPhysicsMaterialID | ( | ) |
Get the ID of the physics material belonging to the collider that triggered the collision.