HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

CameraSetSmoothingFactor, how does it work?

12-29-2009, 09:57 PM#1
Na_Dann_Ma_GoGo
Hi there,
I'm interested in how this function 'CameraSetSmoothingFactor' affects the camera. Does it only increase the frequency of the camera movement or is there more going on?
12-29-2009, 10:12 PM#2
grim001
Try it out yourself. Set it to some value, then move around the camera in-game. It gives the camera some momentum, and it looks quite nice.

I don't know what the valid range of inputs for CameraSetSmoothingFactor is. Anyone know?
12-29-2009, 10:38 PM#3
Na_Dann_Ma_GoGo
Yah that's it. Couldn't really describe how it felt thus I asked what exactly it does ;)
12-30-2009, 02:12 AM#4
DioD
there is no valid range, if smooting is active camera will not stop instantly (1 and 0)
12-30-2009, 02:15 AM#5
grim001
Then why does it take a real value instead of a boolean?
12-30-2009, 02:53 AM#6
DioD
ask blizzard.
12-30-2009, 02:06 PM#7
Na_Dann_Ma_GoGo
Well my personal feeling is that there is a rather huge different from 0.01 to 10 for example.
In my map I got a leap spell and the camera is locked on the hero and raises and falls with his height as well. And there the momentum is easily noticable... and I might be mistaken, but as it feels, there IS a range of values for this.
12-30-2009, 08:44 PM#8
YourName
Afaik it's only from 0 to 2 or anything. Whenever I tested it, values above 2 didn't make any noticeable difference.