Hello all, long time lurker of this board, and since version 3 has been out for a while, I'm trying jumping back into Godot seriously now.
I've been building a 3D platformer, similar to sonic in that there should be smooth movement up ramps and such. Also like sonic I want the character (I'm using a KinematicBody) to rotate according to the slope of the current floor, whatever the angle.
I'm using a RayCast, as IsOnFloor and TestMove are currently bugged for C#.
The RayCast is pointing downwards, so I am able to get the floor normal with the Ray's GetCollisionNormal method (although I see some odd values there when I move around on a flat surface) and I tried getting the angle from that normal, using LookAt with that as the normal, etc etc.
Checking online, I haven't seen anyone fully pulling this off in Godot. Have any of you successfully done so?
Thanks in advance.