CollisionCapsule

from panda3d.core import CollisionCapsule
class CollisionCapsule

Bases: CollisionSolid

This implements a solid consisting of a cylinder with hemispherical endcaps, also known as a capsule or a spherocylinder.

This shape was previously erroneously called CollisionTube.

Inheritance diagram

Inheritance diagram of CollisionCapsule

__init__(*args, **kwargs)
getClassType()

C++ Interface: get_class_type()

getPointA()

C++ Interface: get_point_a(CollisionCapsule self)

/**

*/

getPointB()

C++ Interface: get_point_b(CollisionCapsule self)

/**

*/

getRadius()

C++ Interface: get_radius(CollisionCapsule self)

/**

*/

get_class_type()

C++ Interface: get_class_type()

get_point_a()

C++ Interface: get_point_a(CollisionCapsule self)

/**

*/

get_point_b()

C++ Interface: get_point_b(CollisionCapsule self)

/**

*/

get_radius()

C++ Interface: get_radius(CollisionCapsule self)

/**

*/

point_a
point_b
radius
setPointA()

C++ Interface: set_point_a(const CollisionCapsule self, const LPoint3f a) set_point_a(const CollisionCapsule self, float x, float y, float z)

/**

*/

/**

*/

setPointB()

C++ Interface: set_point_b(const CollisionCapsule self, const LPoint3f b) set_point_b(const CollisionCapsule self, float x, float y, float z)

/**

*/

/**

*/

setRadius()

C++ Interface: set_radius(const CollisionCapsule self, float radius)

/**

*/

set_point_a()

C++ Interface: set_point_a(const CollisionCapsule self, const LPoint3f a) set_point_a(const CollisionCapsule self, float x, float y, float z)

/**

*/

/**

*/

set_point_b()

C++ Interface: set_point_b(const CollisionCapsule self, const LPoint3f b) set_point_b(const CollisionCapsule self, float x, float y, float z)

/**

*/

/**

*/

set_radius()

C++ Interface: set_radius(const CollisionCapsule self, float radius)

/**

*/