mtila21 Posted September 26, 2019 Posted September 26, 2019 Any ideas on how to model a no-fly zone? Specifically, I have vehicles that represent aircraft and use free space only. But, these aircraft need to avoid certain areas or no-fly zones. Is there a way to allow a vehicle to run in free space only, but not go in certain areas? Any thoughts would be greatly appreciated!!
lstretton Posted October 18, 2019 Posted October 18, 2019 I've attached a small model that demonstrated a very simple example of the behavior you're after. The entities divert in only 1 dimension (X). The entities periodically recheck (every second) whether they've crossed a defined X threshold. When they cross the threshold they divert in the Y direction in either a positive or negative direction (using Random.Discrete) and then resume course towards the destination. Hope this is helpful. Lucas. Free Space Diversion.spfx
Recommended Posts