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:
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
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