the player enters a map (after he fell down a hole) and spawns in the air. he is surposed to have the head tended to the left so i used FadePlayerRollTo. but i want it to be tended instantly. so i put speed and max speed on 100.
void OnEnter()
{
//~ INTRO
{
FadeIn(1.0f);
FadePlayerRollTo(30, 100, 100);
SetPlayerActive(false);
SetPlayerCrouching(true);
MovePlayerHeadPos( 0.25f, -0.7f, -2.0f, 100, 0);
}
}
but when i try to make it faster, the screen is shaking. then i added the MovePlayerHeadPos and it was even shaking when i only used 100 then.
so why is it shaking? thanks