I’m trying to make a smooth zoom in and out with the mouse on a top down game.
I have a MPTopDownNetworkPawn and a MPTopDownNetworkController. I have setup the following blueprints system.
Still very new to coding. But this system doesn’t seem to work. I got it from a tutorial where it does seem to work.
Did I implement this wrong and can somebody see what I did wrong?
You have after get float value multiply by 0. try to change that and the numbers in the clamp are really high. I needed that because I was orbiting around a building so I think you can set them lower.
You can see here the smoothing in action http://atrium-amsterdam.nl/availability/.
Ok, I printed out CanBoomLength and it give me “server: up sroll” and when scrolling down, “server: down scroll”. Is this correct, because I dont think the mousescroll should be controlled on the server?
The pawn is multiplayer.
For anyone that likes to know.
was so kind to look into my project and found the solution.
In my class defualts under Actor Tick, “Start with Tick” was disabled. When I enabled it the problem was solved.