garrysmod icon indicating copy to clipboard operation
garrysmod copied to clipboard

SmoothDamp function for math.* and vectors.

Open SneakySquid opened this issue 3 years ago • 1 comments

Critically damped smoothing function for the math library and Vector metatable. Useful for camera motion, path following, and as an alternative to Lerp/LerpVector.

Produces smoother results than Lerp/LerpVector with a constant fraction argument.

Based on Game Programming Gems 4 chapter 1.10.

SneakySquid avatar Sep 18 '20 22:09 SneakySquid

Yay, my Catmull-Rom cure was not merged :D. At Least I hope your mod will

dvdvideo1234 avatar Sep 25 '20 08:09 dvdvideo1234