im not sure why i’m having so much trouble with this but i want my character up vector to be the same as the normal of what i’m walking on. what’s a good way of doing this?
Get floor normal. This will be Z axis of desired rotation. The use MakeRotFromZ to calculate new rotation. Apply it to character ControlRotation, if you use it.
The main problem here - is how to get floor normal. You can make line trace from character to (0, 0, -1) direction (but it will work only if floor is in bottom) and get impact normal. Or tou can create floors like actors which knows its normal, and passes it to player character itself.