I would love an sqf command to allow us to forcefully set a players pitch as the current ways for example setVectorDirAndUp and BIS_fnc_setPitchBank, do not work 100% of the time and doesn't work as I intend when you attach the player to an object. (This behaviour when attached to an object is fine, with these commands, but I am requesting a way to keep the feet planted like in traditional gameplay reference the images below for examples)
Why?
I am creating an advanced zero gravity script a demo video is attached for reference
Demo Video
But currently my main issue is that when the player is "attached" to a surface I would like them to be able to aim up and down, currently I do this using setVectorDirAndUp, but this causes animation issues as the players feet follow the pitch reference the picture below
The image below shows what I would like this command to be able to make it look like (typical aiming behaviour)
My suggestion is to have a command such as setAimDirection or setAimPitch to allow us to control this system directly which seems to currently be only accessible by the engine itself