Jump to content

How Do You Check To See If A Curve Intersects Itself?


Mr.Ed

Recommended Posts

Howdo all,

I am still relatively new to all this and have got myself into a bit of a fix.

How do you see if a curve intersects itself and extract the xyz co ordinates at that point?

I started in vex trying to compare the curve with a section of the curve which carves along the length of the curve. If the intersection happens then the angle between the curves should be greater than zero, but I cant seem to get the angle between the curves.

This also seems a long way round if anyone has a better solution. I did try checking for a collision on the loop with itself but if is always colliding with itself

Any help greatly appreciated

Ed

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...