◆ PointsArray
◆ HullNoConvex()
ConvexHullShape::HullNoConvex::HullNoConvex |
( |
float |
inConvexRadius | ) |
|
|
inlineexplicit |
◆ GetConvexRadius()
virtual float ConvexHullShape::HullNoConvex::GetConvexRadius |
( |
| ) |
const |
|
inlineoverridevirtual |
Convex radius of shape. Collision detection on penetrating shapes is much more expensive, so you can add a radius around objects to increase the shape. This makes it far less likely that they will actually penetrate.
Implements ConvexShape::Support.
◆ GetPoints() [1/2]
PointsArray & ConvexHullShape::HullNoConvex::GetPoints |
( |
| ) |
|
|
inline |
◆ GetPoints() [2/2]
const PointsArray & ConvexHullShape::HullNoConvex::GetPoints |
( |
| ) |
const |
|
inline |
◆ GetSupport()
virtual Vec3 ConvexHullShape::HullNoConvex::GetSupport |
( |
Vec3Arg |
inDirection | ) |
const |
|
inlineoverridevirtual |
Calculate the support vector for this convex shape (includes / excludes the convex radius depending on how this was obtained). Support vector is relative to the center of mass of the shape.
Implements ConvexShape::Support.
The documentation for this class was generated from the following file: