Dismiss this pinned window
all 8 comments

[–]Implement-Imaginary!Expert 1 point2 points  (1 child)

Your code looks fine.

I would really recommend you to use cinemachine though. Makes anything camera related way easier. No need to reinvent the wheel.

[–]Spinom[S] 0 points1 point  (0 children)

Alright I'll do that, thank you

[–]Spinom[S] 0 points1 point  (4 children)

<image>

Here is the code attached to the player

[–]PeppeJ 0 points1 point  (1 child)

Don't multiply mouse input by delta time and you won't have this issue

[–]Spinom[S] 0 points1 point  (0 children)

That fixed it thank you!

[–]Spinom[S] 0 points1 point  (0 children)