CollisionSphere

from panda3d.core import CollisionSphere
class CollisionSphere

Bases:

Bases: CollisionSolid

A spherical collision volume or object.

Inheritance diagram

Inheritance diagram of CollisionSphere

__init__(center: LPoint3, radius: float)
__init__(cx: float, cy: float, cz: float, radius: float)
property center LPoint3

Getter Setter

get_center() LPoint3
static get_class_type() TypeHandle
get_radius() float
property radius float
set_center(center: LPoint3)
set_center(x: float, y: float, z: float)
set_radius(radius: float)