|
Impact CFX API 1.5.5
Comprehensive API documentation for Impact CFX - Collision Effects System
|
Implementation of an Impact Object for objects with a 3D or 2D rigidbody. More...
Public Member Functions | |
| override RigidbodyData | GetRigidbodyData () |
| Gets the rigidbody data for this object. | |
Public Member Functions inherited from ImpactCFX.ImpactObjectRigidbodyCheap | |
| void | FindRigidbody () |
| Attempts to find a rigidbody to reference from this object or one of its parents. | |
| void | SetRigidbody (Rigidbody rigidbody) |
| Sets the 3D physics rigidbody referenced by this object. | |
| void | SetRigidbody2D (Rigidbody2D rigidbody) |
| Sets the 2D physics rigidbody referenced by this object. | |
| void | SetArticulationBody (ArticulationBody articulationBody) |
| Sets the articulation body referenced by this object. | |
| void | ClearRigidbody () |
| Clears the rigidbody reference from this object (does not destroy the rigidbody). | |
| void | SyncRigidbodyData () |
| Forces the object to sync its cached rigidbody data with the current rigidbody state. | |
| override RigidbodyData | GetRigidbodyData () |
| Gets the rigidbody data for this object. | |
Public Member Functions inherited from ImpactCFX.ImpactObjectSingleMaterial | |
| override void | RegisterMaterials () |
| override RigidbodyData | GetRigidbodyData () |
| Gets the rigidbody data for this object. | |
Public Member Functions inherited from ImpactCFX.ImpactObjectBase | |
| virtual int | GetID () |
| Gets a unique identifier for this object. | |
| RigidbodyData | GetRigidbodyData () |
| Gets the rigidbody velocity data for this object. | |
| void | RegisterMaterials () |
| Tells this object to register its material(s) with the Impact CFX Manager. | |
| virtual int | GetPriority () |
| Gets the priority for this object. | |
| virtual Vector3 | GetContactPointRelativePosition (Vector3 point) |
| Gets the local position of the contact point relative to this object's transform. | |
| GameObject | GetGameObject () |
| Gets the game object associated with this object. | |
| override string | ToString () |
Protected Member Functions | |
| override void | Awake () |
Additional Inherited Members | |
Properties inherited from ImpactCFX.ImpactObjectRigidbodyCheap | |
| RigidbodyContainer | RigidbodyContainer [get] |
| Container for handling 2D and 3D rigidbody references. | |
Properties inherited from ImpactCFX.ImpactObjectSingleMaterial | |
| ImpactMaterialAuthoring | Material [get, set] |
| The Impact Material associated with this object. | |
Implementation of an Impact Object for objects with a 3D or 2D rigidbody.
|
protectedvirtual |
Reimplemented from ImpactCFX.ImpactObjectRigidbodyCheap.
| override RigidbodyData ImpactCFX.ImpactObjectRigidbody.GetRigidbodyData | ( | ) |
Gets the rigidbody data for this object.
Implements ImpactCFX.IImpactObject.