"Tag" a CCPhysics body?

Official forum for the Chipmunk2D Physics Library.
Post Reply
jocovochipmunk
Posts: 1
Joined: Mon Jun 02, 2014 3:29 pm
Contact:

"Tag" a CCPhysics body?

Post by jocovochipmunk »

Hello,

Is there a way to add some additional info (string, int, etc) that I can set/reset/retrieve at runtime to a CCPhysics body such as a tag?

For example I have about 100 CCPhysics bodies and need to access user defined info (the "tag" I request) when a collision happens.

Thanks!
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 9 guests