CollisionLine

from panda3d.core import CollisionLine
class CollisionLine

Bases:

Bases: CollisionRay

An infinite line, similar to a CollisionRay, except that it extends in both directions. It is, however, directional.

Inheritance diagram

Inheritance diagram of CollisionLine

__init__()

Creates an invalid line. This isn’t terribly useful; it’s expected that the user will subsequently adjust the line via set_origin()/set_direction() or set_from_lens().

__init__(origin: LPoint3, direction: LVector3)
__init__(ox: float, oy: float, oz: float, dx: float, dy: float, dz: float)
static get_class_type() TypeHandle