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
- __init__(*args, **kwargs)
- getClassType()
C++ Interface: get_class_type()
- get_class_type()
C++ Interface: get_class_type()
- 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)
- 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)