Intersect - button, group
Posted: Tue Jun 16, 2015 11:18 am
Hi,
I have 1000 objects in group "Lines"
I need to find out what line (object) do I actually intersecting.
so I have
but I need
How to get XYZ line in that group that I am actually intersecting?
Solution would be to check intersect for every single Line but there is too many lines.
I have 1000 objects in group "Lines"
I need to find out what line (object) do I actually intersecting.
so I have
Code: Select all
if intersect(btn "player", group "Lines", "opaque pixels") then
answer "Collision"
end if
Code: Select all
if intersect(btn "player", group "Lines", "opaque pixels") then
answer "Collision with line XYZ in group Lines"
end if
Solution would be to check intersect for every single Line but there is too many lines.