Tell me more ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I've been trying to set a contact listener that creates a joint on contact between two sprites which have their own classes. Both sprites are inheriting from NSObject and they are initialized in their parent layer (init method of HelloWorldLayer.mm). It is quite straightforward when everything is in the same class, but in a case like this where sprites have their own classes how will it be done?

share|improve this question
It's not really clear what you're trying to do. What exactly is the issue with them having separate classes? Edit your question to try to explain further. Thanks. – Byte56 Jun 27 '12 at 20:49

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.