Jolt Physics
A multi core friendly Game Physics Engine
|
Structure that holds the result of colliding a point against a shape. More...
#include <CollidePointResult.h>
Public Member Functions | |
JPH_OVERRIDE_NEW_DELETE float | GetEarlyOutFraction () const |
Function required by the CollisionCollector. A smaller fraction is considered to be a 'better hit'. For point queries there is no sensible return value. | |
Public Attributes | |
BodyID | mBodyID |
Body that was hit. | |
SubShapeID | mSubShapeID2 |
Sub shape ID of shape that we collided against. | |
Structure that holds the result of colliding a point against a shape.
|
inline |
Function required by the CollisionCollector. A smaller fraction is considered to be a 'better hit'. For point queries there is no sensible return value.
SubShapeID CollidePointResult::mSubShapeID2 |
Sub shape ID of shape that we collided against.