A Useful Snippet: A lot of game developers will recognize this line of code: value = lerp(value, targetValue, 0.1); It’s super useful, and can be used for all sorts of things. With a higher constant, it’s a good way to smooth out jittery input from a mouse or joystick. With a low constant, it’s a […]
See more from our blog!