Couch
Public Member Functions | List of all members
CapsuleCollisionShape Class Reference
Inheritance diagram for CapsuleCollisionShape:
Inheritance graph
[legend]
Collaboration diagram for CapsuleCollisionShape:
Collaboration graph
[legend]

Public Member Functions

 CapsuleCollisionShape (float radius, float height)
 

Additional Inherited Members

- Protected Attributes inherited from CollisionShape
btCollisionShape * shape
 

Constructor & Destructor Documentation

◆ CapsuleCollisionShape()

CapsuleCollisionShape::CapsuleCollisionShape ( float  radius,
float  height 
)

Creates a collision shape that is a cylinder with height, capped with a hemisphere of radius

Parameters
radiusThe hemisphere radius
heightThe cylinder height

The documentation for this class was generated from the following files: