Player Aligning to gravity

Here is an example for a character controller that uses spherical gravity. You will notice that it doesn’t use look_at, because that will lose information. Instead, we take the last rotation and up vector and rotate them directly.