FAForever / fa

Lua code for FAF
223 stars 230 forks source link

Trajectory of missiles are off when there is significant terrain differences #6064

Open Garanas opened 4 months ago

Garanas commented 4 months ago

Describe the bug

In a replay:

https://github.com/FAForever/fa/assets/15778155/15c59abe-cc75-4db8-b91d-a55ad195d066

In a sandboxed environment:

https://github.com/FAForever/fa/assets/15778155/fc4b9f22-24f8-4762-af1d-9fc977334f60

Specifically the Cybran MML has trouble shooting at something that is significant higher.

To Reproduce

Apply an attack ground order to something that is significantly higher than the MML. It tends to overshoot.

Garanas commented 4 months ago

@clyfordv would you be available to look into this?

clyfordv commented 4 months ago

I am, I'll check it out.

clyfordv commented 4 months ago

Contemporary to this I'm aiming to balkanize SemiBallisticProjectile (a borderline nonsense name if I've ever heard one) into a set of ballistic equations with a class-friendly parameter format, to be included as needed.