|
RavEngine
|
Pre-made support mapping for a capsule. More...
#include <PxGjkQueryExt.h>
Public Member Functions | |
| CapsuleSupport () | |
| Default constructor. | |
| CapsuleSupport (PxReal radius, PxReal halfHeight) | |
| Constructs a CapsuleSupport for capsule radius and halfHeight. | |
| CapsuleSupport (const PxCapsuleGeometry &geom) | |
| Constructs a CapsuleSupport for a PxCapsuleGeometry. | |
| virtual PxReal | getMargin () const |
| Return the user defined shape margin. Margin should be greater than or equal to 0. | |
| virtual PxVec3 | supportLocal (const PxVec3 &dir) const |
| Return the farthest point on the user defined shape's core in given direction. | |
Public Attributes | |
| PxReal | radius |
| PxReal | halfHeight |
Pre-made support mapping for a capsule.
|
virtual |
Return the user defined shape margin. Margin should be greater than or equal to 0.
Implements physx::PxGjkQuery::Support.
Return the farthest point on the user defined shape's core in given direction.
| [in] | dir | Direction |
Implements physx::PxGjkQuery::Support.