Hi C2 community!
I'm trying to find a way to detect an object within an random internal area comprised between a central object and a line composed by dashes generated by the touch of the player around this central object.
I did this illustration below for you guys better understand the situation. If at least one of these objects stay in this random internal area, the player loses.
I tried to make it through the Line of Sight behavior, calculating the area composed of each stroke object that makes up the broken touch and the central object, but didn't get success. <img src="{SMILIES_PATH}/icon_e_sad.gif" alt=":(" title="Sad">
count_dash*distance(Central_Object.X, Central_Object.Y, Dash.X, Dash.Y)
count_dash is a varible that count every dash spawned by the touch of the player.
I thank you in advance your attention and collaboration. ^^
SOLVED BY blackhornet! Link of CAPX example below:
http://www.blackhornettechnologies.com/ ... tTest.capx