qbcore-framework / qb-inventory

Slot Based Inventory System Used With QB-Core :school_satchel:
GNU General Public License v3.0
50 stars 376 forks source link

Add model dimension calculation #292

Closed JnKTechstuff closed 2 years ago

JnKTechstuff commented 2 years ago

Describe Pull request This simply calculated the model dimensions and accurately determines the back/front of vehicle with high accuracy. This also reduces the area to check down from 2.0 down to 1.5 since we are accurately getting this position. This fixes things like the trunk on box trucks being on the side because a set value is set even though every car is different.

Questions (please complete the following information):