Added smoothed camera when ascending and descending edges, or any Z offset in general. This value is also clamped.
Also added categories to variables/functions.
PlayerBean isn't rendered in first person yet its shadow is still rendered, this is to avoid any camera smoothing clipping.