|
| void TA::DynamicObject::InitialiseAsACapsule
(
|
| const Vec3 &
|
v3Start,
|
|
| const Vec3 &
|
v3End,
|
|
| float
|
fRadius
|
| ) |
|
|
|
|
Call this function to initialise the dynamic object using a capsule for the collision object. Here a capsule is taken to mean a cylinder with a hemisphere rounding off each end. - Parameters:
-
| v3Start | |
The center point at one end of the cylinder section. |
| v3End | |
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. |
|
|