I’m using the following for the zoom logic. It’s simple, but snappy. I need to smooth it.
In the project settings Axis mappings i have set up Camera Zoom with Mouse Wheel Axis.
Yeah I’ve taken a look. Where and how do I add and connect it? When I try it the camera zoom snaps back to 0 whenever I release the scroll
Instead of just setting the boom length, you interp between the current length, and target length.
I can’t follow the tutorial. I just need the exact nodes. I tried following it but now it doesn’t do anything, and yes, everything is hooked up.
I’m wondering ( before I do anything ), have you tried the camera lag checkbox in the spring arm details? See the delay to about 8, maybe…
I tested your idea with no lag and with lag set to 8, then 80. Still same result.
I was thinking there’s gotta be a more effortless way? I mean, in Unity, i would need to code a much simpler function.
To get arm length to just increase/decrease smoothly, all you need is the original position and the new “predetermined” position which is happening by one full roll, so in my head it shouldnt be complex. In player prefs, iv’e set attached #1
(with -1.0 for inverted movement of scrollwheel)
Then again, im still only a few days in, migrating from unity.
it didn’t work, but it’s likely my project settings or something else, i don’t know why but it’s still snappy.
I’m marking this as a solution.
It’s actually very elegant! Nice work
The setup for the mouse wheel is basically the same as for the IA_movement node ( it just produces -1 or +1.