CollisionDetection
                                
                                 CollisionDetection copied to clipboard
                                
                                    CollisionDetection copied to clipboard
                            
                            
                            
                        Line to Rect does not check if the line is completely inside the rectangle.
Not sure if that on purpose or not.
Simply adding a pointRect fixes the issue.
Thanks! Let me take a look and I'll get back to this asap.
hey, i fixed this issue for my own project. can i try a PR?
Sure that would be great, thanks!