OdeCollisionEntry

from panda3d.ode import OdeCollisionEntry
class OdeCollisionEntry

Bases: TypedReferenceCount

A class used to hold information about a collision that has occurred.

Inheritance diagram

Inheritance diagram of OdeCollisionEntry

__init__(*args, **kwargs)
getBody1()

C++ Interface: get_body1(OdeCollisionEntry self)

/**
  • Returns the first body in the collision.

*/

getBody2()

C++ Interface: get_body2(OdeCollisionEntry self)

/**
  • Returns the second body in the collision.

*/

getClassType()

C++ Interface: get_class_type()

getContactGeom()

C++ Interface: get_contact_geom(OdeCollisionEntry self, int n)

/**
  • Returns the nth contact geom in the collision.

*/

getContactGeoms()
getContactPoint()

C++ Interface: get_contact_point(OdeCollisionEntry self, int n)

/**
  • Returns the nth contact point in the collision. This does exactly the same

  • as get_contact_geom(n).get_pos().

*/

getContactPoints()
getGeom1()

C++ Interface: get_geom1(OdeCollisionEntry self)

/**
  • Returns the first geom in the collision.

*/

getGeom2()

C++ Interface: get_geom2(OdeCollisionEntry self)

/**
  • Returns the second geom in the collision.

*/

getNumContacts()

C++ Interface: get_num_contacts(OdeCollisionEntry self)

/**
  • Returns the number of contacts in the collision.

*/

get_body1()

C++ Interface: get_body1(OdeCollisionEntry self)

/**
  • Returns the first body in the collision.

*/

get_body2()

C++ Interface: get_body2(OdeCollisionEntry self)

/**
  • Returns the second body in the collision.

*/

get_class_type()

C++ Interface: get_class_type()

get_contact_geom()

C++ Interface: get_contact_geom(OdeCollisionEntry self, int n)

/**
  • Returns the nth contact geom in the collision.

*/

get_contact_geoms()
get_contact_point()

C++ Interface: get_contact_point(OdeCollisionEntry self, int n)

/**
  • Returns the nth contact point in the collision. This does exactly the same

  • as get_contact_geom(n).get_pos().

*/

get_contact_points()
get_geom1()

C++ Interface: get_geom1(OdeCollisionEntry self)

/**
  • Returns the first geom in the collision.

*/

get_geom2()

C++ Interface: get_geom2(OdeCollisionEntry self)

/**
  • Returns the second geom in the collision.

*/

get_num_contacts()

C++ Interface: get_num_contacts(OdeCollisionEntry self)

/**
  • Returns the number of contacts in the collision.

*/

isEmpty()

C++ Interface: is_empty(OdeCollisionEntry self)

/**
  • Returns true if the entry holds no contacts.

*/

is_empty()

C++ Interface: is_empty(OdeCollisionEntry self)

/**
  • Returns true if the entry holds no contacts.

*/