Hey, im trying to implement a camera recoil by the use of springs. problem is that the recoil wont return back, its because im adding the output angles of the spring to the camera.CFrame
here what the code looks like
function module:step(dt)
local cameracf = camera.CFrame
local camerarecoil = self.springs.camerarecoil:update(dt)
camera.CFrame = camera.CFrame * CFrame.Angles(math.rad(camerarecoil.X), math.rad(camerarecoil.Y), math.rad(camerarecoil.Z))
end
is there any work arounds to this?
or if there's a way to get the BaseCF for the camera (as in the absoulte output of the camera from the CoreScripts before it is set to the cameras CFrame)
** You are now Level 2! **