mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Replaced wind by ACE_wind
This commit is contained in:
parent
a5cef8da3d
commit
b092ecf280
@ -77,8 +77,8 @@ if (_bullet isKindOf "BulletBase") then {
|
||||
_bulletVelocity = velocity _bullet;
|
||||
_bulletSpeed = vectorMagnitude _bulletVelocity;
|
||||
|
||||
if (vectorMagnitude wind > 0) then {
|
||||
_trueVelocity = _bulletVelocity vectorDiff wind;
|
||||
if (vectorMagnitude ACE_wind > 0) then {
|
||||
_trueVelocity = _bulletVelocity vectorDiff ACE_wind;
|
||||
_trueSpeed = vectorMagnitude _trueVelocity;
|
||||
|
||||
_dragRef = _deltaT * _airFriction * _bulletSpeed * _bulletSpeed;
|
||||
|
Loading…
Reference in New Issue
Block a user