DevCanny
(DevCanny)
1
-
What do you want to achieve?
I want to make an Aim Down Sight system
-
What is the issue?
It doesn’t look right
-
What solutions have you tried so far?
I have tried so many different ways, and none of them worked so far.
Runs when the arms are created
adsoffset = arms.AimPart.CFrame:Inverse() * arms:GetPrimaryPartCFrame()
Handles the arms
if Arms:FindFirstChild("AimPart") then
armsCFrame *= adsoffset;
end
1 Like
Your topic does not give us very much information.
What is the value of this? Try changing that.
1 Like
NDavis06
(オウオ)
3
You could possibly store a offset inside each gun to tell the script where to put the ViewModel. like for instance
local Config = {}
Config.WeaponOffset = Vector3.new(0,1,0)
return Config
1 Like
DevCanny
(DevCanny)
4
sorry for the late response, it multiplies with the camera’s coordinate frame for the arms
1 Like
DevCanny
(DevCanny)
5
i am not sure, on how to do that
1 Like
DevCanny
(DevCanny)
6
i was messing around and found the solution!
the adsoffset was supposed to work, but I was trying to save the value before the idle animation loaded
1 Like
system
(system)
Closed
7
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.