Frictional Games Forum (read-only)

Full Version: FRIGGIN CAMERA STOP SHAKIN
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Okay so I did

Code:
MovePlayerHeadPos(0, -0.8, 0, 1.4, -0.8);


so the player simulates falling and then it changes to the next map. HOWEVER, when the player spawns in the next map, the camera is stuttering and shaking a little bit. I tried undoing it by doing

Code:
MovePlayerHeadPos(0, 0, 0, 1.4, -0.8);


so the camera Y goes back to normal (0). Still it doesnt stop shaking.

I tried ChangePlayerStateToNormal();
that didnt do anything either

HELP
My first guess is to change all the floats to 0.0f?
(11-21-2011, 07:45 AM)flamez3 Wrote: [ -> ]My first guess is to change all the floats to 0.0f?
nope still doesnt work.

HELP
First of all. You are using decimals without the float extension thing. Then why did you minus for the slowdowndistance?

I think the best way to try and get the view back into right spot would be to use fast speed and 0 in the slowdowndistance, while the player is in FadeOut. I have no idea if head position stays to the next map, but you should try if you change the pos back before changing.

And yeah. If you use decimals, put f behind them.
like
MovePlayerHeadPos(6.5f, 0.5f, 0, 55.5f, 0);

And then I want to add that when I made my teamnesia map, it has this one cutscene event what is done mainly with moveplayerheadpos. It feels really buggy to get right and it has all sort of problems show up when using. Just test things out and it should work at some point. Hell, even mine came out good with something I really did not try to do.
Change the speed from 1.4 to 1.