BulletCapsuleShape

from panda3d.bullet import BulletCapsuleShape
class BulletCapsuleShape

Bases:

Bases: BulletShape

Inheritance diagram

Inheritance diagram of BulletCapsuleShape

__init__(copy: BulletCapsuleShape)
__init__(radius: float, height: float, up: BulletUpAxis)
static get_class_type() panda3d.core.TypeHandle
get_half_height() float

Returns half of get_height().

Deprecated: see get_height() instead.

get_radius() float

Returns the radius that was used to construct this capsule.

property height float

Returns the height that was used to construct this capsule.

static make_from_solid(solid: panda3d.core.CollisionCapsule) BulletCapsuleShape

Constructs a new BulletCapsuleShape using the information from a CollisionCapsule from the builtin collision system.

property radius float

Returns the radius that was used to construct this capsule.