Contact Class Reference

Contact class. More...

List of all members.

Public Attributes

PhyObjectcollide
 Collide Object.
PhyObjectobject
 Reference Object.
wVector pos
 position of the contact in the local object coordinates
wVector worldPos
 position in the global coordinate

Detailed Description

Contact class.

Motivation
an helper class for support the implementation of contact sensors
Description
the contact is refered to one object... so there is always a duplicate informations; for example, if object A and B collide each other then two Contact object will be generated: one for registering data from the A point of view and the other respect to object B.
This simplify the contact look-up based on the object pointer.

Definition at line 292 of file world.h.


Member Data Documentation

Collide Object.

Definition at line 297 of file world.h.

Reference Object.

Definition at line 295 of file world.h.

position of the contact in the local object coordinates

Definition at line 299 of file world.h.

position in the global coordinate

Definition at line 301 of file world.h.


The documentation for this class was generated from the following file: