Contact Class Reference
Public Attributes | |
| PhyObject * | collide |
| Collide Object. | |
| PhyObject * | object |
| 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.
Member Data Documentation
The documentation for this class was generated from the following file:
- worldsim/include/world.h