Collision Box for Line Segment Problem

Hi guys,

I am creating physics bodies that are newline display objects. When I view their collision boxes in hybrid mode, the collision boxes extend from the center of the line segment to its end and then 1/2 its length past its end. 1/2 of the line segment is not covered by the collision box at all.

However, when I detect collisions, the collision events fire as if the collision boxes are properly centered over the entire body of the line segment.

Can anyone tell me how/why the collision boxes do not seem to display properly?

And can anyone tell me how to get the collision boxes to display properly?

Thanks in advance.

views:1635 update:2011/10/10 9:00:20
corona forums © 2003-2011