Hello im trying to make 2 players face each other using AlignOrientation to recreate the sonic sway from db sparking zero (budokai tenkaichi) and this is how it looks normally:
The problem is that if shift lock is turned on during it,The align orientation is ignored and the player can look wherever they want which messes up the movement part of the script. Is there a way to stop this from happening ?
Thanks but what if I want players to use shift lock throughout the whole game? because thats what makes the fighting far easier. I want the shift lock to still be βonβ during the sonic sway, but just not change the orientation of the character until after the sonic sway, as forcefully turning off their shift lock for a short animation and them having to turn it on again themselves would be annoying for players.
Shift lock is a in-built feature, so it overrides dev-induced features like align orientation. The only option I can think of is building custom shift lock and simply stop listening for mouse changes during the sonic sway
Just re-enable afterwards. Granted they would need to re-shift lock in which following @MysteryX2076βs advice of making your own shift-lock mechanic is advised.