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).
also sounds like the way you have the controls setup / camera rotation isnt correct. did you setup your character the same as the thirdpersonexample? have you looked into orient movement to rotation.
rotation on tick sounds to me like a bandaid solution, meaning it fixes the immediate symptoms but doesnt fix the actual underlying issue. it also isnt a very performant method.
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.
yeah, i meant your movement setup, not your fix setup.
Ue4 has no such thing as a movement setup, just input and movement, but it’s up to you where it moves to. so the problem is what you did, so please show me those nodes.
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…