#pragma once #include "NxPhysics.h" class Player; class Scene; class UserContactReport : public NxUserContactReport { public: static const int COLGROUP_PLAYER = 1; static const int COLGROUP_BULLET = 2; static const int COLGROUP_GOODIE = 3; static const int COLGROUP_OTHER = 4; static const int COLGROUP_FIRE = 5; static const int COLGROUP_WHEEL = 6; static const int COLGROUP_TERRAIN = 7; static const int COLGROUP_ICE = 8; static const int COLGROUP_ONEPLAYER = 9; static const int COLGROUP_MOREPLAYER= 10; static const int COLGROUP_NOCOL = 20; static const int COLGROUP_NOSELFCOL = 25; static const int COLGROUP_OBSTACLE = 31; UserContactReport(void); ~UserContactReport(void); void onContactNotify(NxContactPair& pair, NxU32 events); void setScene(Scene* _scene); protected: Scene* scene; };