CollisionSphere
-
class CollisionSphere
Bases:
CollisionSolid
A spherical collision volume or object.
Inheritance diagram
-
explicit CollisionSphere(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)
-
PN_stdfloat get_radius(void) const
-
void set_center(PN_stdfloat x, PN_stdfloat y, PN_stdfloat z)
-
void set_radius(PN_stdfloat radius)
-
explicit CollisionSphere(PN_stdfloat cx, PN_stdfloat cy, PN_stdfloat cz, PN_stdfloat radius)