Collision events for newLine not working since build 2017.3068?

Hello,

That’s really weird, it worked perfectly well before I updated to 3068… Either way, I am now using an image instead of a newLine() object and that works fine.

Question: is there a performance issue with chain shapes? Would a 2 element normal body be more efficient in terms of performance?

A chain shape with a “reasonable” number of vertices should perform just fine. I put “reasonable” in quotes because it’s just the nature of the beast with physics and some other things (particle generators, etc.) that you can exceed a practical, logical amount of anything. For example, I could probably trace a simulated 50 kilometers of 2D ground in a side-scroller with a single chain shape, because there isn’t a defined limit to the number of vertices, but that doesn’t mean that I should… and only by testing on real devices would I know that I’ve exceeded the “reasonable” limit. :slight_smile:

Brent

Ok, I see. In that case, I will check if I can reach the same result by using a multielement normal body instead. Thanks!