void TA::CollisionObjectCapsule::Initialise
(
|
const Vec3 &
|
v3PointA,
|
|
const Vec3 &
|
v3PointB,
|
|
float
|
fRadius
|
) |
|
|
|
Call this function to initialise the cylinder. Here a capsule is taken to mean a cylinder with a hemisphere rounding off each end.
Capsule Diagram
- Parameters:
-
v3PointA | |
The center point at one end of the cylinder section. |
v3PointB | |
The center point at the other end the cylinder section. |
fRadius | |
The radius of the cylinder section. The same radius is also used for the hemisphere caps. |
|
|