[T5] - Help about Collision Detection Callbacks

almondega

02-11-2008 20:14:22

hi, i updated to T5 right now
and i'm having problems in the new collision detection

from the betajaen sample:

class Harry : public ActorContactCallback
{
public:
void SomeoneTouchedHarry(Actor*,Actor*, NxContactStream&);
};

Harry::Harry()
{
mContactFunctions[_onBeginContact] = _ActorContactCallbackFunction(&Harry::SomeoneTouchedHarry);
};


first, NxContactStream should be ContactStream

but, theres no one _ActorContactCallbackFunction in any .h file
where did came from ?
how to use this new collision detection method..

tks :wink:

mcaden

03-11-2008 06:45:44

I haven't gone to T5 yet, sorry I can't help but...

All problems, compile errors and thumbs up in this thread only.
If I see any posts outside this thread - I WILL DELETE THEM.

almondega

03-11-2008 13:07:42

u r right
i forgot about that
already post in that thread
betajaen can delete this one
:wink: