Callback interface for catching events of collisions. More...
Callback interface for catching events of collisions.
Implement this interface and use ISceneNodeAnimatorCollisionResponse::setCollisionCallback to be able to be notified if a collision has occurred.
|virtual bool irr::scene::ICollisionCallback::onCollision||(||const ISceneNodeAnimatorCollisionResponse &||animator||)||
Will be called when a collision occurrs.
See ISceneNodeAnimatorCollisionResponse::setCollisionCallback for more information.
|animator,:||Collision response animator in which the collision occurred. You can call this animator's methods to find the node, collisionPoint and/or collision triangle.|
|true||if the collision was handled in the animator. The animator's target node will *not* be stopped at the collision point, but will instead move fully to the location that triggered the collision check.|
|false||if the collision was not handled in the animator. The animator's target node will be moved to the collision position.|