Closed vugi99 closed 1 year ago
GetCameraArmLength(true) not correct when not lerping
Serverside char:SetViewMode(ViewMode.TopDown)
Clientside : ply:GetCameraArmLength(true) - returns 100 incorrect ply:GetCameraArmLength(false) - returns 800 correct
It should return ply:GetCameraArmLength(false) when no lerping is going on instead of the value you stored. (use a simple boolean to know when you are lerping)
It returns a wrong stored value
thx for reporting, I was returning the base instead of the target
Actually, I'm keeping this as is, and will change the parameter to return_base instead. The way it was designed to be
return_base
Prerequisites
Your Environment
Description
GetCameraArmLength(true) not correct when not lerping
Steps to reproduce the behavior
Serverside char:SetViewMode(ViewMode.TopDown)
Clientside : ply:GetCameraArmLength(true) - returns 100 incorrect ply:GetCameraArmLength(false) - returns 800 correct
Expected behavior
It should return ply:GetCameraArmLength(false) when no lerping is going on instead of the value you stored. (use a simple boolean to know when you are lerping)
Actual behavior
It returns a wrong stored value