Is it possible to access b2Fixture and b2Body properties in one class in another class in such a way that joints could be created. If yes, how can it be done. Please Help
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Create property to get access to your b2Body object. Then you can get list of b2Fixtures for this b2Body.
in your .h file
in your .mm file (you must use .mm extension to be able to use c++ classes and methods)
After this all MyClass instances will have property body, that can be accessed as
or