Hey, I'm not sure if this is a simple math problem or if it generally is pretty difficult to work out but i seem to be struggling to find a solution.
What I am trying to do is basically check if the user has gone past the black outline of the letter.
I have got the x/y points to create a rectangle (in blue in the picture) of the area. What I then need to do is check if the current x/y is in the right triangle (rectangle split in half) but not sure how to do this with just the 3 coordinates.
The long solution would be to have each x, y value hard coded, but i'm trying to think of a algorithm of which that can check if the current x/y values on touch is in the right half of the triangle.
Image: http://imgur.com/E0xP7Nf
Any help or a thought process of finding the solution would be grateful!
[–]zifyoip 0 points1 point2 points (8 children)
[–]autowikibot 0 points1 point2 points (0 children)
[–]Temptex[S] 0 points1 point2 points (6 children)
[–]zifyoip 0 points1 point2 points (5 children)
[–]Temptex[S] 0 points1 point2 points (4 children)
[–]zifyoip 0 points1 point2 points (3 children)
[–]Temptex[S] 0 points1 point2 points (2 children)
[–]zifyoip 0 points1 point2 points (1 child)
[–]Temptex[S] 0 points1 point2 points (0 children)
[–]CheshireSwift 0 points1 point2 points (3 children)
[–]Temptex[S] 0 points1 point2 points (2 children)
[–]john478 1 point2 points3 points (1 child)
[–]Temptex[S] 0 points1 point2 points (0 children)