|virtual bool||filter (PhysicsCollisionObject *object)|
|virtual bool||hit (const HitResult &result)|
Class that can be overridden to provide custom hit test filters for ray and sweep tests.
The default implementation of this class returns only the closest object that intersects a ray of volume.
|virtual bool gameplay::PhysicsController::HitFilter::filter||(||PhysicsCollisionObject *||object||)||
Called before performing a hit test with an object to determine whether or not the object should be tested.
|object||Object to be queried.|
Called when a ray or sweep test collides with a collision object.
Each collision object that is hit during the ray or sweep test is passed to this method, along with details of the hit result. Returning true to this method will continue with normal hit test processing, where only closer objects are returned. Returning false results in this method being called for all objects that intersect the ray or volume.
|result||HitResult object containing information about the hit.|