BulletCapsuleShape

class BulletCapsuleShape

Bases: BulletShape

Inheritance diagram

Inheritance diagram of BulletCapsuleShape

explicit BulletCapsuleShape(PN_stdfloat radius, PN_stdfloat height, BulletUpAxis up = ::Z_up)
BulletCapsuleShape(BulletCapsuleShape const &copy)

Only used by make_from_bam.

static TypeHandle get_class_type(void)
PN_stdfloat get_half_height(void) const

Returns half of get_height().

Deprecated: see get_height() instead.

PN_stdfloat get_radius(void) const

Returns the radius that was used to construct this capsule.

static BulletCapsuleShape *make_from_solid(CollisionCapsule const *solid)

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