#Gun ADS (Aim down sight) not working properly
18 messages · Page 1 of 1 (latest)
lerp?
yes
runService.RenderStepped:Connect(function()
if currentViewmodel and currentViewmodel.PrimaryPart then
updateLaserDot()
updateCameraPosition()
if not aiming then
camera[currentViewmodel.Name]:SetPrimaryPartCFrame(camera.CFrame * CFrame.new(-1, -2, -1.5) * CFrame.Angles(0, 0, 0))
end
-- Aiming mode handling
if aiming then
local offset = currentViewmodel.AimPart.CFrame:ToObjectSpace(currentViewmodel.PrimaryPart.CFrame)
aimCF = aimCF:Lerp(offset, 1)
else
local offset = CFrame.new()
aimCF = aimCF:Lerp(offset, 1)
end
end
end)
thats the aimpart
your alpha is 1
what should it be set to