Hi,

I have detected that certain objects are there in my shooters range, say O1,
O2, O3, O4 within range of Shooter, S.

In the shooter creation code, I am calling this method
cpSpaceAddCollisionPairFunc(gameSpace, kBodyTypeShooterRange,
kBodyTypeObject, &shooterCollision, self);

shooterCollision is invoked for the objects within the range.

My intention is to shoot the first object within my range. But I have delay
my shooting till 1 second before I shoot the other object.

I guess somehow I should call the collisionDetect method in some scheduler.
I am newbie. Kindly help me to do this.

Regards
Mustafa
[email protected]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cocos-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to