themadme
27-03-2008 12:43:19
mKnifeGroup->setCallback(mCallback);
mKnifeGroup->setCollisionCallback(mButterKnifeGroup, NX_NOTIFY_ALL, true);
so saying setcallback is a way of telling things how they should react when the two objects touch and setCollisionCallback is saying this is the second group that is meant to contact with each other?
is that correct?
mKnifeGroup->setCollisionCallback(mButterKnifeGroup, NX_NOTIFY_ALL, true);
so saying setcallback is a way of telling things how they should react when the two objects touch and setCollisionCallback is saying this is the second group that is meant to contact with each other?
is that correct?