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.
Version 1.0.0. Published January 12, 2016
Created with GameMaker: Studio v1.4.1690
This asset hasn't received enough reviews yet.
You can only review assets you've bought.
No reviews have been left for this asset - be the first!