True Axis Physics SDK 1.2.0.1 Beta Documentation
www.trueaxis.com

void TA::CollisionObjectCylinder::Initialise (
const Vec3 &   v3PointA,
const Vec3 &   v3PointB,
float   fRadius
 

Call this function to initialise the cylinder.

cylinder.png

Cylinder 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.



© Copyright 2004-2006 TRUE AXIS PTY LTD Australia. All rights reserved.