aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/aim_convergence.rs
Commit message (Collapse)AuthorAgeFilesLines
* fix(combat): fire autonomous turrets along their barrel and sightsValentin Popov4 days1-1/+13
| | | | | | Transform the live CPT axis through the weapon sockets and the chassis. Mounted weapons use the same sight convergence as manual shots for compatible profiles. The autonomous ray checks current chassis and mounted geometry. Checked the Control.dll CPT transform and convergence oracle against the Rust path, observed the initial AutoDemo combat in the Vulkan window, and ran the licensed AutoDemo combat test.
* fix(combat): converge manual shots on the authored sight rayValentin Popov4 days1-0/+84
Read the ray origin and axis from the turret CTL rows. Match the Control sight query and its minimum convergence distance for compatible projectile profiles. Free look keeps using the same turret ray. Checked Control.dll RVA 0x2a610 with near, far, and clear rays. Used the stock firing range window for the changed launch vectors and replayed ordinary player inputs from the normal start through victory.