Merge pull request #63 from vlazed/out-of-bound-gizmos

Increase gizmo padding to fix laggy gizmo
This commit is contained in:
penolakushari 2024-12-19 22:44:52 +03:00 committed by GitHub
commit 5722ce3071
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,7 +12,7 @@ local ANGLE_DISC = Angle(0, 90, 0)
local ANGLE_ARROW_OFFSET = Angle(0, 90, 90) local ANGLE_ARROW_OFFSET = Angle(0, 90, 90)
-- How much we should try to contain the player and the gizmo -- How much we should try to contain the player and the gizmo
local DISTANCE_PADDING = 2 local DISTANCE_PADDING = 10
-- How much player's velocity should influence collision bound -- How much player's velocity should influence collision bound
local PLAYER_WEIGHT = 0.9 local PLAYER_WEIGHT = 0.9
-- How much gizmo's own velocity should influence collision bound -- How much gizmo's own velocity should influence collision bound