0x1F9F1 / Open1560

A mod for Midtown Madness 1, primarily focused on supporting modern computers and fixing bugs.
https://0x1F9F1.github.io/Open1560
GNU General Public License v3.0
110 stars 8 forks source link

Implement aiVehicleOpponent::Update #150

Closed KcRobin9 closed 2 weeks ago

KcRobin9 commented 3 months ago

This function will enable users to keep the opponent's trailer attached (or force it to detach much faster than normal).

For the line:

Vector3 car_pos_diff = Car.Sim.ICS.Matrix.m3 - AIMAP.PlayerPos();

This could be an alternative :

Vector3 car_pos_diff = Car.Sim.ICS.Matrix.m3 - PlayerPos;

Hopefully all the flags are implemented correctly