|
Call this function to initialise the collision object with a list of points. The point list is used to create a convex hull. The convex hull may then be simplified slightly. - See also:
- TA::CollisionObjectCombo::Initialise(), TA::CollisionObjectCombo::Initialise(const Char* szFileName), TA::CollisionObjectCombo::InitialiseAsABox(float fSizeX, float fSizeY, float fSizeZ), TA::CollisionObjectCombo::InitialiseAsABox(const AABB& aabb), TA::CollisionObjectCombo::InitialiseAsAnOrientedBox and TA::CollisionObjectCombo::InitialiseAsACapsule.
- Returns:
- Returns
true on success, false on failure. If creating a convex object from the point list fails, this object will be initialised as a box.
- Parameters:
-
pv3PointList | |
A pointer to a list of points. |
nNumPoints | |
The number of points in the list specified by pv3PointList. |
|