mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Update addons/hitreactions/functions/fnc_throwWeapon.sqf
Co-Authored-By: jonpas <jonpas33@gmail.com>
This commit is contained in:
parent
8a16c9da1b
commit
0fc3cb0201
@ -30,7 +30,7 @@ private _holder = createVehicle ["WeaponHolderSimulated", [0,0,0], [], 0, "CAN_C
|
||||
_holder addWeaponWithAttachmentsCargoGlobal [_data, 1];
|
||||
|
||||
private _vDir = _unit weaponDirection _weapon;
|
||||
private _vLat = vectorNormalized (_vDir vectorCrossProduct [0,0,1]);
|
||||
private _vLat = vectorNormalized (_vDir vectorCrossProduct [0, 0, 1]);
|
||||
private _vUp = _vLat vectorCrossProduct _vDir;
|
||||
|
||||
private _position = _unit modelToWorldWorld (_unit selectionPosition "RightHand") vectorAdd (_vLat vectorMultiply 0.59);
|
||||
|
Loading…
Reference in New Issue
Block a user