from panda3d.core import CollisionHandlerQueue
- class CollisionHandlerQueue¶
A special kind of
CollisionHandlerthat does nothing except remember the CollisionEntries detected the last pass. This set of CollisionEntries may then be queried by the calling function. It’s primarily useful when a simple intersection test is being made, e.g. for picking from the window.
- __init__(param0: CollisionHandlerQueue)
Removes all the entries from the queue.
Sorts all the detected collisions front-to-back by from_intersection_point() so that those intersection points closest to the collider’s origin (e.g., the center of the
CollisionSphere, or the point_a of a
CollisionSegment) appear first.