Jump to content
Sign in to follow this  
lulu01

Need some help with coding a no-flight zone

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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×