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

getCenter() LPoint3
static getClassType() TypeHandle
getRadius() float
property radius float
setCenter(center: LPoint3)
setCenter(x: float, y: float, z: float)
setRadius(radius: float)