Search found 4 matches

by alucherdi
Thu Nov 10, 2016 10:44 pm
Forum: Support and Development
Topic: [Solved!] Shadow raycast polygon fail (Help!)
Replies: 10
Views: 5175

Re: Shadow raycast polygon fail (Help!)

It's not!, when I draw the polygon the points that intersects don't return to the origin uwu, and it worked! thanks a lot!!

Image

Thanks a lot, I'm pushing in git with the results
by alucherdi
Thu Nov 10, 2016 10:09 pm
Forum: Support and Development
Topic: [Solved!] Shadow raycast polygon fail (Help!)
Replies: 10
Views: 5175

Re: Shadow raycast polygon fail (Help!)

Btw, it's not a triangle fan, I sort the angles and then make the polygon with the intersections. The first point in the center actually kind of worked! but there is a gap between 2 points. I also tryed to initialize the polygon points table with the last intersection but the overlap come back https...
by alucherdi
Thu Nov 10, 2016 9:53 pm
Forum: Support and Development
Topic: [Solved!] Shadow raycast polygon fail (Help!)
Replies: 10
Views: 5175

Re: Shadow raycast polygon fail (Help!)

Ok ok let me do some test with that information
by alucherdi
Thu Nov 10, 2016 10:08 am
Forum: Support and Development
Topic: [Solved!] Shadow raycast polygon fail (Help!)
Replies: 10
Views: 5175

[Solved!] Shadow raycast polygon fail (Help!)

Hi! I'm having some problems creating a shadow raycast library. The raycast is working perfectly https://love2d.org/imgmirrur/oQANv62.png But when I try to draw the shadow polygon it looks like the love.graphics.polygon is sort of "jumping" some of the points of the raycast https://love2d....