My question is more a pure C*+ question or Box2D question but as I don’t know where to ask it…I ask it here !
I have got a *body of type b2Body and want to do something like this :
It doesn’t work as SetUserdata expects a “data” type.
Here is the iOS version which works:
NSNumber *number = ;
How to do the same in C+ ?