OdeCollisionEntry
-
class OdeCollisionEntry
Bases:
TypedReferenceCount
A class used to hold information about a collision that has occurred.
Inheritance diagram
-
OdeCollisionEntry(OdeCollisionEntry const&) = default
-
static TypeHandle get_class_type(void)
-
OdeContactGeom get_contact_geom(std::size_t n) const
Returns the nth contact geom in the collision.
-
LPoint3f get_contact_point(std::size_t n) const
Returns the nth contact point in the collision. This does exactly the same as get_contact_geom(n).get_pos().
-
std::size_t get_num_contacts(void) const
Returns the number of contacts in the collision.
-
bool is_empty(void) const
Returns true if the entry holds no contacts.
-
OdeCollisionEntry(OdeCollisionEntry const&) = default