|
Impact CFX API 1.5.5
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, bool invert=false) | |
| Creates an impact contact point from the given ContactPoint. | |
| ImpactContactPoint (ContactPoint2D contactPoint2D, Vector3 collisionMessageVelocity, bool invert=false) | |
| Creates an impact contact point from the given ContactPoint2D. | |
| ImpactContactPoint (RaycastHit raycastHit3D, bool invert, GameObject sourceObject=null) | |
| Creates an impact contact point from the given RaycastHit. | |
| ImpactContactPoint (RaycastHit2D raycastHit2D, bool invert, GameObject sourceObject=null) | |
| Creates an impact contact point from the given RaycastHit2D. | |
| ImpactContactPoint (Vector3 point, Vector3 normal, GameObject triggerObject, Collider hitCollider3D, Vector3 collisionMessageVelocity) | |
| Creates a contact point using the given data. | |
| ImpactContactPoint (Vector3 point, Vector3 normal, Collider triggerCollider3D, Collider hitCollider3D, Vector3 collisionMessageVelocity) | |
| Creates a contact point using the given data. | |
| ImpactContactPoint (Vector3 point, Vector3 normal, GameObject triggerObject, Collider2D hitCollider2D, Vector3 collisionMessageVelocity) | |
| Creates a contact point using the given data. | |
| ImpactContactPoint (Vector3 point, Vector3 normal, Collider2D triggerCollider2D, Collider2D hitCollider2D, Vector3 collisionMessageVelocity) | |
| Creates a contact point using the given data. | |
| ImpactContactPoint (ImpactContactPoint source, bool invert=false) | |
| Creates a copy of the given contact point. | |
| ImpactContactPoint (Vector3 point, Vector3 normal, GameObject triggerObject, PhysicsType physicsType) | |
| Creates a contact point using the given data. | |
| 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.
| ImpactCFX.ImpactContactPoint.ImpactContactPoint | ( | ContactPoint | contactPoint3D, |
| Vector3 | collisionMessageVelocity, | ||
| bool | invert = false ) |
Creates an impact contact point from the given ContactPoint.
| contactPoint3D | The contact point to get data from. |
| collisionMessageVelocity | Optional velocity provided by the original Collision, if applicable. |
| invert | Should the trigger and hit objects be swapped? |
| ImpactCFX.ImpactContactPoint.ImpactContactPoint | ( | ContactPoint2D | contactPoint2D, |
| Vector3 | collisionMessageVelocity, | ||
| bool | invert = false ) |
Creates an impact contact point from the given ContactPoint2D.
| contactPoint2D | The contact point to get data from. |
| collisionMessageVelocity | Optional velocity provided by the original Collision2D, if applicable. |
| invert | Should the trigger and hit objects be swapped? |
| ImpactCFX.ImpactContactPoint.ImpactContactPoint | ( | RaycastHit | raycastHit3D, |
| bool | invert, | ||
| GameObject | sourceObject = null ) |
Creates an impact contact point from the given RaycastHit.
| raycastHit3D | The raycast hit data. |
| invert | Should the trigger and hit objects be swapped? |
| sourceObject | An optional source object for the raycast. |
| ImpactCFX.ImpactContactPoint.ImpactContactPoint | ( | RaycastHit2D | raycastHit2D, |
| bool | invert, | ||
| GameObject | sourceObject = null ) |
Creates an impact contact point from the given RaycastHit2D.
| raycastHit2D | The raycast hit data. |
| invert | Should the trigger and hit objects be swapped? |
| sourceObject | An optional source object for the raycast. |
| ImpactCFX.ImpactContactPoint.ImpactContactPoint | ( | Vector3 | point, |
| Vector3 | normal, | ||
| GameObject | triggerObject, | ||
| Collider | hitCollider3D, | ||
| Vector3 | collisionMessageVelocity ) |
Creates a contact point using the given data.
| point | The contact point. |
| normal | The contact normal. |
| triggerObject | The object that triggered the collision. |
| hitCollider3D | The collider that was hit. |
| collisionMessageVelocity | Optional velocity provided by the original Collision, if applicable. |
| ImpactCFX.ImpactContactPoint.ImpactContactPoint | ( | Vector3 | point, |
| Vector3 | normal, | ||
| Collider | triggerCollider3D, | ||
| Collider | hitCollider3D, | ||
| Vector3 | collisionMessageVelocity ) |
Creates a contact point using the given data.
| point | The contact point. |
| normal | The contact normal. |
| triggerCollider3D | The collider that triggered the collision. |
| hitCollider3D | The collider that was hit. |
| collisionMessageVelocity | Optional velocity provided by the original Collision, if applicable. |
| ImpactCFX.ImpactContactPoint.ImpactContactPoint | ( | Vector3 | point, |
| Vector3 | normal, | ||
| GameObject | triggerObject, | ||
| Collider2D | hitCollider2D, | ||
| Vector3 | collisionMessageVelocity ) |
Creates a contact point using the given data.
| point | The contact point. |
| normal | The contact normal. |
| triggerObject | The object that triggered the collision. |
| hitCollider2D | The collider that was hit. |
| collisionMessageVelocity | Optional velocity provided by the original Collision, if applicable. |
| ImpactCFX.ImpactContactPoint.ImpactContactPoint | ( | Vector3 | point, |
| Vector3 | normal, | ||
| Collider2D | triggerCollider2D, | ||
| Collider2D | hitCollider2D, | ||
| Vector3 | collisionMessageVelocity ) |
Creates a contact point using the given data.
| point | The contact point. |
| normal | The contact normal. |
| triggerCollider2D | The collider that triggered the collision. |
| hitCollider2D | The collider that was hit. |
| collisionMessageVelocity | Optional velocity provided by the original Collision, if applicable. |
| ImpactCFX.ImpactContactPoint.ImpactContactPoint | ( | ImpactContactPoint | source, |
| bool | invert = false ) |
Creates a copy of the given contact point.
| source | The original contact point. |
| invert | Should the trigger and hit objects be swapped? |
| ImpactCFX.ImpactContactPoint.ImpactContactPoint | ( | Vector3 | point, |
| Vector3 | normal, | ||
| GameObject | triggerObject, | ||
| PhysicsType | physicsType ) |
Creates a contact point using the given data.
| point | The contact point. |
| normal | The contact normal. |
| triggerObject | The object that triggered the collision. |
| physicsType | Whether this is a 3D or 2D physics 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.