Contact Class Reference
Public Attributes | |
| PhyObject * | collide |
| Collide Object. More... | |
| wVector | force |
| the normal restitution force at the contact point More... | |
| PhyObject * | object |
| Reference Object. More... | |
| wVector | pos |
| position of the contact in the local object coordinates More... | |
| wVector | worldPos |
| position in the global coordinate More... | |
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
| wVector force |
| wVector pos |
The documentation for this class was generated from the following file:
- worldsim/include/world.h