mirror of
https://github.com/sethduda/AdvancedTowing.git
synced 2024-08-30 17:32:12 +00:00
Changing _cargoHitchModelPos & _vehicleHitchModelPos to always have Z set to 0
This commit is contained in:
parent
33a7ba0b62
commit
6cf7f04dac
@ -24,6 +24,9 @@ SA_Simulate_Towing = {
|
||||
|
||||
private ["_lastCargoHitchPosition","_lastCargoVectorDir","_bbr","_p1","_p2","_maxCargoWidth","_maxCargoLength","_cargoLength"];
|
||||
|
||||
_vehicleHitchModelPos set [2,0];
|
||||
_cargoHitchModelPos set [2,0];
|
||||
|
||||
_lastCargoHitchPosition = _cargo modelToWorld _cargoHitchModelPos;
|
||||
_lastCargoVectorDir = vectorDir _cargo;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user