What if a collision type named something_andSomething

Chipmunk2D Bindings for the Unity3D engine
Post Reply
compass3
Posts: 37
Joined: Fri Aug 30, 2013 4:27 pm
Contact:

What if a collision type named something_andSomething

Post by compass3 »

I mean, there is "_" in the string. I see the collision handle function naming like this. So I think it may be not advisable to name a collision type with "_" in it.
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: What if a collision type named something_andSomething

Post by slembcke »

That wouldn't work no. When you define collision manager methods, they are split on underscores so it wouldn't know what to do.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests