This is what I want to do:
I have a triangle. I have a vector comming out of a point. The user controls the vector (changing it’s values with movement keys) and controls the triangle (movement and rotation). I want to detect every pixel on the triangle where the vector intersects and get it’s color then paint on top of it with alpha (I’ve already taken care of painting). All I have to do it’s get the intersection point (x, y) so I can change the texture. Is there anyway to do this? ThanX in advance,


Check out the tutorials here . One of theme is about collision detection between a line segment and a plane! handy, huh?