Im trying to achieve smooth camera movements, like the smooth zoom roblox implemented, as well i have seen in @Crazyman32 AirlinerTest that hes achieved a “max rotation/angle” when in first person.
If anyone could possibly tip me off or let me know how to achieve something like this, it would be very appreciated!
To help you get off on the right track: TweenService is not suitable for this scenario.
Unfortunately I can’t write you a detailed answer right now, but in short you will need to update the Camera’s properties every render frame to react to user input (e.g. mouse movement) and to achieve the rotation/angular clamping effect. To run your code every render frame, you should use RunService.BindToRenderStep.
i would also like some more information on how to use this module for camera manipulation
ive tried using tweenservice, interpolate and :lerp but all give jittery results. So now im looking towards smoothdamp, problem is its pretty tricky to disect.
What i did is, to get smootened moving, you need to DAMP THE USER INPUT.
I took the default roblox camera module, and went into the code where user input, eg x,y movement is stored, and just dampened that using a simple spring module
could you explain further? What i have is a renderstepped continuously lerping the camera to an offset of the chaaracters humanoidrootpart, lerp is pretty good however there is still some jitter here and there. looka t the video for more details.
Cool, thanks! Once Roblox updates the camera though, I just take the new code out of the player and paste in the camera damping into ClassicCamera, right?
yeah just take the camera module from the player and add the damping code into the classic camera, though it depends on how much stuff have changed in the code.