Calculating the Intersection Point of 2 Lines

  • 14 favourites

Attached Files

The following files have been attached to this tutorial:

.capx

intersecting-lines.capx

Download now 6.58 KB

Stats

955 visits, 1,713 views

Translations

This tutorial hasn't been translated.

Tools

This is an example of how to calculate the X and Y position of where the angle of 2 objects intersect. This is useful when you have objects representing lines, and you must calculate their intersection point.

Demo

Please note: The capx contains 2 events that do the same thing. The 1st event calculates the intersection point with a single action. The 2nd event (which is disabled by default) does the same thing, but breaks the math out so it's easier to read/comprehend.

.CAPX

intersecting-lines.capx

Download now 6.58 KB
  • 0 Comments

  • Order by
Want to leave a comment? Login or Register an account!