#include <ps_located.h>
Definition at line 76 of file ps_located.h.
Public Member Functions | |
| CPSCollisionInfo () | |
| void | reset (void) |
| void | serial (NLMISC::IStream &f) throw (NLMISC::EStream) |
Data Fields | |
| CPSZone * | collisionZone |
| float | dist |
| NLMISC::CVector | newPos |
| NLMISC::CVector | newSpeed |
| float | TimeSliceRatio |
|
|
Definition at line 95 of file ps_located.h. References reset().
00096 {
00097 reset();
00098 }
|
|
|
Definition at line 99 of file ps_located.h. References dist, and TimeSliceRatio. Referenced by CPSCollisionInfo().
00100 {
00101 dist = -1;
00102 TimeSliceRatio = 1.0f;
00103 }
|
|
|
Definition at line 105 of file ps_located.h. References dist, newPos, and newSpeed.
00106 {
00107 f.serialVersion(1);
00108 f.serial(dist, newPos, newSpeed);
00109 }
|
|
|
the zone on which the bounce occured... can be useful to check the behaviour in case of collision Definition at line 93 of file ps_located.h. Referenced by NL3D::CPSZoneRectangle::performMotion(), NL3D::CPSZoneCylinder::performMotion(), NL3D::CPSZoneDisc::performMotion(), NL3D::CPSZoneSphere::performMotion(), and NL3D::CPSZonePlane::performMotion(). |
|
|
Tells how mush of this time step is being used. This is usually 1.0, unless. The object was just emitted. In this case, this can range from 0 to 1 (When several emission occured within the same time step) Definition at line 85 of file ps_located.h. Referenced by NL3D::CPSLocated::collisionUpdate(), NL3D::CPSZoneRectangle::performMotion(), NL3D::CPSZoneCylinder::performMotion(), NL3D::CPSZoneDisc::performMotion(), NL3D::CPSZoneSphere::performMotion(), NL3D::CPSZonePlane::performMotion(), reset(), and serial(). |
|
|
Definition at line 87 of file ps_located.h. Referenced by NL3D::CPSZoneRectangle::performMotion(), NL3D::CPSZoneCylinder::performMotion(), NL3D::CPSZoneDisc::performMotion(), NL3D::CPSZoneSphere::performMotion(), NL3D::CPSZonePlane::performMotion(), and serial(). |
|
|
Definition at line 87 of file ps_located.h. Referenced by NL3D::CPSZoneRectangle::performMotion(), NL3D::CPSZoneCylinder::performMotion(), NL3D::CPSZoneDisc::performMotion(), NL3D::CPSZoneSphere::performMotion(), NL3D::CPSZonePlane::performMotion(), and serial(). |
|
|
Definition at line 79 of file ps_located.h. Referenced by reset(). |
1.3.6