mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Compensate for movement during the frame to get rid of jittering
This commit is contained in:
parent
8fd13f3fe5
commit
b675d9d180
@ -37,6 +37,8 @@ if((count _this) > 2) then {
|
||||
_pos = _object modelToWorld (_object selectionPosition (_actionData select 2));
|
||||
};
|
||||
};
|
||||
// Compensate for movement during the frame to get rid of jittering
|
||||
_pos = _pos vectorAdd ((visiblePositionASL _object) vectorDiff (getPosASL _object));
|
||||
};
|
||||
|
||||
// For non-self actions, exit if the action is too far away
|
||||
|
Loading…
Reference in New Issue
Block a user