asherppan
(concat_nate)
#1
I followed this tutorial: https://www.youtube.com/watch?v=JKN7muCx1bA&ab_channel=FlamingDev.
As you can see, the bullet is not coming from the tip of the gun.
- Yes, the attachment is positioned correctly
- All my raycasting information is correct.
- The arm follows the camera, but the Y position is usually atleast 10-20 studs lower, despite it showing up in the correct place
Raycasting from the head works 100% fine, as well as the camera.
If you know why this is happening or how to fix it, please reply!
asherppan
(concat_nate)
#2
found a really hacky solution. setting it in renderstepped somehow gets the position to be incorrect, so i did this:
RunService.RenderStepped:Connect(function(dt)
leftArm.LocalTransparencyModifier = 0
rightArm.LocalTransparencyModifier = 0
character.Torso["Right Shoulder"].Part0 = viewModel.Torso
character.Torso["Left Shoulder"].Part0 = viewModel.Torso
end)
workspace.CurrentCamera:GetPropertyChangedSignal(“CFrame”):Connect(function()
viewModel.PrimaryPart.CFrame = (workspace.CurrentCamera.CFrame)
end)
while true do
viewModel.PrimaryPart.CFrame = (workspace.CurrentCamera.CFrame)
task.wait()
end