Bug #4476

AI has hard time finding paths for planes

Added by shuko over 5 years ago. Updated almost 3 years ago.

Status:Assigned Start date:09/12/2009
Priority:Normal Due date:11/01/2011
Assignee:Dwarden % Done:

10%

Category:AI Issues
Target version:Upcoming version
Affected ArmA II version:1.60 BETA First affected build:
Reproduced by another DH user:Yes First affected ArmA II version:
I am using some Mods:No Single / Multi Player?:
I am using: BIForumURL:
Reproducible for you:Yes NGUrl:
Related to content of DLC: WIKIurl:

Description

Obs
AI in a C-130 has hard time going straight, even in high altitudes like 3000m.
Instead it flies in circles rather to move to the WP.

Repro
  1. Run bug_planepathfinding.Chernarus in the editor

Notice the plane flying circles after being over land rather to move to the WP.

Original comment
Attached is example mission with C130 with straight line to a waypoint.
It is also set to fly at 3km. It goes nice and straight as long as
it's above the flat water, but as soon as it gets over the land it goes nuts.

Could it be caused by flyinheight forcing it to keep the altitude related to terrain?

Note
I see this issue as resolved or bogus. In the original repro mission,
dynamic vector acceleration has been added to the init line.

I removed that and replaced it with a "Flying" status instead;
the plane doesn't exhibit the erratic behavior anymore.

If there's a bug of some kind, maybe with setVelocity and plane.

plane.jpg (77.4 kB) shuko, 09/12/2009 17:57

aircraft_pathfinding.avi (18.9 MB) shuko, 09/12/2009 17:57

bug_planepathfinding.Chernarus.rar (1.3 kB) shuko, 09/12/2009 17:57

CIT4476_plane_pathfinding.Chernarus.zip (1.4 kB) Fireball, 09/06/2010 23:09

History

Updated by kju over 5 years ago

  • Due date set to 12/12/2009
  • Status changed from New to Assigned
  • Assignee deleted (Dwarden)

Updated by shuko over 5 years ago

  • Assignee set to Dwarden

Updated by Dwarden over 5 years ago

  • Priority changed from Normal to High
  • Target version set to 1.05 BETA
  • Reproduced by another DH user set to No
  • CPU set to Please specify!

Updated by Dwarden over 5 years ago

  • Status changed from Assigned to In progress
  • % Done changed from 0 to 10

Updated by kju over 5 years ago

  • Target version changed from 1.05 BETA to Upcoming version

Updated by Fireball about 5 years ago

  • Due date changed from 12/12/2009 to 12/31/2009

Updated by kju about 5 years ago

  • Due date changed from 12/31/2009 to 02/17/2010

Updated by kju about 5 years ago

  • Due date changed from 02/17/2010 to 03/25/2010
  • Affected ArmA II version changed from 1.04 BETA to 1.05.62017

Updated by Fireball over 4 years ago

I see this issue as resolved or bogus. In the original repro mission, dynamic vector acceleration has been added to the init line.

I removed that and replaced it with a "Flying" status instead; the plane doesn't exhibit the erratic behavior anymore.

If there's a bug of some kind, maybe with setVelocity and plane.

Updated by kju about 4 years ago

  • Due date changed from 09/25/2010 to 05/01/2011
  • Status changed from Feedback to Assigned
  • Priority changed from High to Normal
  • Affected ArmA II version changed from 1.05.62017 to 1.58 BETA
  • Reproduced by another DH user changed from No to Yes
  • I am using set to CO (A2+OA)
  • Reproducible for you changed from No to Yes

Still in latest.

Updated by kju over 3 years ago

  • Due date changed from 05/01/2011 to 11/01/2011
  • Affected ArmA II version changed from 1.58 BETA to 1.60 BETA
  • CPU deleted (Please specify!)
  • Audio card deleted (Please specify!)
  • Size of OS swap file deleted (Please specify!)
  • I am using deleted (CO (A2+OA))

The problem seems the high altitude.

afaik there is a "roof" in the world at 500 or 1000 meter or something like that for AI pilots, above that and they act "high"

See: http://forums.bistudio.com/showthread.php?t=123654

Also available in: Atom PDF