CollisionInvSphere

from panda3d.core import CollisionInvSphere
class CollisionInvSphere

Bases: CollisionSphere

An inverted sphere: this is a sphere whose collision surface is the inside surface of the sphere. Everything outside the sphere is solid matter; everything inside is empty space. Useful for constraining objects to remain within a spherical perimeter.

Inheritance diagram

Inheritance diagram of CollisionInvSphere

__init__(center: LPoint3, radius: float)
__init__(cx: float, cy: float, cz: float, radius: float)
static getClassType()TypeHandle