Struct CollisionInfo#
Defined in File CollisionInfo.h
Struct Documentation#
-
struct CollisionInfo#
Struct of info for a collision query result.
Public Functions
-
bool hasContact() const#
Check whether there is a collision.
- Returns:
True if there is a collision (>=1 contact points)
-
operator bool() const#
true if there are one or more contacts
Public Members
Public Static Functions
-
static CollisionInfo &singleton()#
Get a global instance with static lifetime.
- Returns:
The global CollisionInfo instance.
-
bool hasContact() const#