I’m making a 3rd person platforming game, and my game includes rotating platforms. When the player stands on them and rotates, controls get messed up. For example, if the player gets rotated 180 degrees, the controls are reversed, forward goes backward and etc.
I ‘fixed’ this by on tick rotating player movement to face the camera, however, everything in my player has its forward vector distorted. So, again, if the player is rotated 180 degrees, the forward vector now points 180 degrees in the wrong direction.
Is there any way to have controls AND forward axis remain consistent when rotating a player?
Doing it this way will offset the forward axis of everything, by which I mean that it stays in place regardless of the direction the player faces. The problem with this also is that the player wont actually rotate WITH the rotating platforms which is a lesser problem, but still.
I’d much rather have it act as it does normally (the player, camera, forward axis all rotate properly, but the player movement does not update).
i currently just have it set on tick that the player rotates in the direction of velocity. even with that turned OFF, I still encounter the problem of the controls inverting when being rotated 180 degrees.
This fixes the issue of the rotating platforms, but has presented me with NEW issues. Now, the player no longer faces velocity (even though orient rotation towards movement is checked) and the only way to rotate the player is to rotate the camera, which I DONT want… I’d like rotating the camera to be entirely independent…