CollisionSphere

from panda3d.core import CollisionSphere
class CollisionSphere

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 centerLPoint3

Getter Setter

getCenter()LPoint3
static getClassType()TypeHandle
getRadius()float
property radiusfloat

Getter Setter

setCenter(center: LPoint3)None
setCenter(x: float, y: float, z: float)None
setRadius(radius: float)None