BulletCapsuleShape
-
class BulletCapsuleShape
Bases:
BulletShape
Inheritance diagram
-
explicit BulletCapsuleShape(PN_stdfloat radius, PN_stdfloat height, BulletUpAxis up = ::Z_up)
-
BulletCapsuleShape(BulletCapsuleShape const ©)
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 aCollisionCapsule
from the builtin collision system.
-
explicit BulletCapsuleShape(PN_stdfloat radius, PN_stdfloat height, BulletUpAxis up = ::Z_up)