Jump to content

Need some help with coding a no-flight zone


lulu01

Recommended Posts

Hi,

So I came across a problem, I like to create a flight route for a plane, but I don't want the plane to crash into an object.

I managed to create a curve (flight route) that can avoid a point, so the curve goes around the point...GREAT!!! (Check Screenshot 1)

But if I want to avoid a large area, lets call it a "no-flight zone", the code has some sort of scaling limitation.  (Check Screenshot 2)

I've checked the code several times, but I can't find the solution, can somebody help me out?

 

Screenshot_1.png

Screenshot_2.png

No_Flight_Zone.hip

Edited by lulu01
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...