|
Panda3D
|
This implements a solid roughly in cylindrical shape. More...
Public Member Functions | |
| CollisionTube (Point3 const a, Point3 const db, float radius) | |
| CollisionTube (float ax, float ay, float az, float bx, float by, float bz, float radius) | |
| Point3 const | getPointA () |
| Point3 const | getPointB () |
| float | getRadius () |
| setPointA (float x, float y, float z) | |
| setPointA (Point3 const a) | |
| setPointB (float x, float y, float z) | |
| setPointB (Point3 const b) | |
| setRadius (float radius) | |
Static Public Member Functions | |
| static TypeHandle | getClassType () |
This implements a solid roughly in cylindrical shape.
It's not called a CollisionCylinder because it's not a true cylinder; specifically, it has rounded ends instead of flat ends. It looks more like a Contac pill.
| CollisionTube | ( | Point3 const | a, |
| Point3 const | db, | ||
| float | radius | ||
| ) |
| CollisionTube | ( | float | ax, |
| float | ay, | ||
| float | az, | ||
| float | bx, | ||
| float | by, | ||
| float | bz, | ||
| float | radius | ||
| ) |
| static TypeHandle getClassType | ( | ) | [static] |
Reimplemented from CollisionSolid.
| Point3 const getPointA | ( | ) |
| Point3 const getPointB | ( | ) |
| float getRadius | ( | ) |
| setPointA | ( | float | x, |
| float | y, | ||
| float | z | ||
| ) |
| setPointA | ( | Point3 const | a | ) |
| setPointB | ( | Point3 const | b | ) |
| setPointB | ( | float | x, |
| float | y, | ||
| float | z | ||
| ) |
| setRadius | ( | float | radius | ) |
1.7.3