opal::CollisionEvent Struct Reference

#include <CollisionEventHandler.h>

List of all members.

Public Member Functions

 CollisionEvent ()

Public Attributes

SolidthisSolid
SolidotherSolid
Point3r pos
Vec3r normal
real depth


Detailed Description

A data structure containing info about a specific collision event involving two Solids.

Definition at line 41 of file CollisionEventHandler.h.


Constructor & Destructor Documentation

opal::CollisionEvent::CollisionEvent  )  [inline]
 

Definition at line 43 of file CollisionEventHandler.h.

References depth, otherSolid, and thisSolid.


Member Data Documentation

real opal::CollisionEvent::depth
 

The depth of interpenetration. This may not be very helpful if the two Solids are allowed to pass through each other (i.e. their contact groups do not generate contacts).

Definition at line 68 of file CollisionEventHandler.h.

Referenced by CollisionEvent(), and opal::ode_hidden::internal_collisionCallback().

Vec3r opal::CollisionEvent::normal
 

The normal vector at the point of collision.

Definition at line 63 of file CollisionEventHandler.h.

Referenced by opal::ode_hidden::internal_collisionCallback().

Solid* opal::CollisionEvent::otherSolid
 

The Solid that collided with the one owning the CollisionEventHandler.

Definition at line 57 of file CollisionEventHandler.h.

Referenced by CollisionEvent(), and opal::ode_hidden::internal_collisionCallback().

Point3r opal::CollisionEvent::pos
 

The point of collision.

Definition at line 60 of file CollisionEventHandler.h.

Referenced by opal::ode_hidden::internal_collisionCallback().

Solid* opal::CollisionEvent::thisSolid
 

The colliding Solid whose CollisionEventHandler gets called.

Definition at line 53 of file CollisionEventHandler.h.

Referenced by CollisionEvent(), and opal::ode_hidden::internal_collisionCallback().


The documentation for this struct was generated from the following file:
Generated on Tue May 16 17:49:55 2006 for OPAL by  doxygen 1.4.6-NO