Shape Intersection


You must be logged in to obtain assets


Shape Intersection allows you to know exactly where a line intersects with the edges of circles and rotated rectangles.

line_solid_intersection(x1, y1, x2, y2, exclude)

An array of all points is returned and the ids of the objects the points refer to are also included.

For use in any 2D or 3D game (only tests 2D shapes). Check if an enemy can see you! Know where a bullet hits instantly! No need for clunky slow pixel mask collision checks!

Usage instructions included in comments of script.

More info

End User Licence Agreement (EULA).

Age Rating: 4+


GMS1 - Version 1.0.0. Published January 12, 2016

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait