API


 

AltCollider

class in AltSystems.AltTrees


Description


This class attached to the colliders (If the options are "Enable Tree Colliders" and "Enable Collider Events" activated in the settings).

Public Functions

getCollisionInfo Get collision and tree(or object) information.


Events

AltCollisionEnter AltCollisionEnter is called when OnCollisionEnter event is come.
AltCollisionExit AltCollisionExit is called when OnCollisionExit event is come.
AltCollisionStay AltCollisionStay is called when OnCollisionStay event is come.