ASL_ObjectCollider Class |
Namespace: ASL
The ASL_ObjectCollider type exposes the following members.
| Name | Description | |
|---|---|---|
| ASL_ObjectCollider | Initializes a new instance of the ASL_ObjectCollider class |
| Name | Description | |
|---|---|---|
| m_OnCollisionEnterCallback | Callback to be executed on OnCollisionEnter | |
| m_OnCollisionExitCallback | Callback to be executed on OnCollisionExit | |
| m_OnTriggerEnterCallback | Callback to be executed on OnTriggerEnter | |
| m_OnTriggerExitCallback | Callback to be executed on OnTriggerEnter | |
| m_OnTriggerStayCallback | Callback to be executed on OnTriggerEnter |
| Name | Description | |
|---|---|---|
| ASL_OnCollisionEnter |
Sets the callback function for the ASL_ObjectCollider OnCollisionEnter. This does NOT claim the object.
Only a single callback function is stored at a time.
| |
| ASL_OnCollisionExit |
Sets the callback function for the ASL_ObjectCollider OnCollisionExit. This does NOT claim the object.
Only a single callback function is stored at a time.
| |
| ASL_OnTriggerEnter |
Sets the callback function for the ASL_ObjectCollider OnTriggerEnter. This does NOT claim the object.
Only a single callback function is stored at a time.
| |
| ASL_OnTriggerExit |
Sets the callback function for the ASL_ObjectCollider OnTriggerExit. This does NOT claim the object.
Only a single callback function is stored at a time.
| |
| ASL_OnTriggerStay |
Sets the callback function for the ASL_ObjectCollider OnTriggerStay. This does NOT claim the object.
Only a single callback function is stored at a time.
| |
| OnCollisionEnter |
Called when object enters the collision of another object. Only exicutes the callback function if this client is the PhysicsMaster.
| |
| OnCollisionExit |
Called when object exits the collision of another object. Only exicutes the callback function if this client is the PhysicsMaster.
| |
| OnTriggerEnter |
Called when object enters a trigger. Only exicutes the callback function if this client is the PhysicsMaster.
| |
| OnTriggerExit |
Called when object exits a trigger. Only exicutes the callback function if this client is the PhysicsMaster.
| |
| OnTriggerStay |
Called when object stays in a trigger. Only exicutes the callback function if this client is the PhysicsMaster.
| |
| Start |
| Name | Description | |
|---|---|---|
| ObjectCollider | ||
| physicsMaster | Reference to the PhysicsMaster in the scene. There should never be more than one PhysicsMaster per client |