how do i make aiming down sight but the problem is its not a normal viewmodel its only head and torso on local players camera when i go first person it looks like a viewmodel so u can look up and the arms will follow with sway bob etc i dont need to animate the viewmodel arms beacuse it doesnt have i only use a normal npc for animating
i just wanna understand what i method i should use for example :pivotto or lookat etc
heres script im using aimpart
RunService.RenderStepped:Connect(function(dt)
if Aiming then
end
end)
InputService.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton2 then
if Equiped then
Aiming = true
end
end
end)
InputService.InputEnded:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton2 then
if Equiped then
Aiming = false
end
end
end)
You should put AimPart or simply set position where player should aim, then use this position and head’s position (Player’s camera’s CFrame is equal Head’s CFrame in first person) to determine relative vector from head to aim part, and move camera to this relative cframe