Xeno69 / Domination

Domination - A MP mission for Arma 3
83 stars 36 forks source link

CAS sometimes crashes into the ground #371

Closed longtimegamer closed 2 years ago

longtimegamer commented 2 years ago

I've noticed the CAS vehicle A10 on Altis/Malden will sometimes crash into the target. When this occurs I notice a jitter in the vehicle during the flight path and the weapons are far off target. Depending on terrain or tall buildings the vehicle will sometimes pull up too late and crash. If I wait a moment and try again targeting the same location it usually will work perfectly.

It looks like something is causing the setVelocityTransformation and sleep 0.01 to make the flight very jittery. The server seems otherwise healthy.

One more comment: I have looked at some other Arma scripts for CAS and I think the script here in Domination is the best. When it works correctly it is amazing.

longtimegamer commented 2 years ago

PR #372 is a proposed workaround. It does not solve the reason for the CAS to sometimes lag but it usually prevents the plane from hitting the ground.