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

explicit CollisionInvSphere(LPoint3 const &center, PN_stdfloat radius)
explicit CollisionInvSphere(PN_stdfloat cx, PN_stdfloat cy, PN_stdfloat cz, PN_stdfloat radius)

Creates an invalid sphere. Only used when reading from a bam file.

static TypeHandle get_class_type(void)