Posts: 687
Threads: 28
Joined: Mar 2010
Reputation:
0
Joining this question, I used to have a problem with this too.
Posts: 4,878
Threads: 85
Joined: Jun 2007
Reputation:
0
This probably is a server/samp problem. The timerinterval is not 1/1000 sec accurate, also on fast systems, it is +-100-200ms. Creating new variables and getting and setting all the camerastuff also eats some processtime, which create additional delays, so an 10ms update timer is just not possible.
You could try to add it to OnPlayerUpdate, it is called as fast as possible then, but may cause lags.
Posts: 2,929
Threads: 160
Joined: Feb 2009
Reputation:
0
I also made a moving camera script and it moves very smooth at 20 ms.
I also used PVars.
Posts: 3,304
Threads: 58
Joined: Sep 2008
Reputation:
0
Possibly it might be because you're setting the camera look at thingy to the same pos at the camera's, even though it sounds unlikely.
What about a camera of 33ms? Still 30 movements a second which is equal to 33 FPS (Almost)
Posts: 636
Threads: 112
Joined: Nov 2009
Reputation:
0
Still the same, anyone?
EDIT: It moves faster if i hold mouse buttons
Posts: 399
Threads: 28
Joined: Nov 2007
Reputation:
0
You could apply some looping animation to the player (/box), and set moving the camera on their OnPlayerUpdate. Player updates much more often when in a looping animation. If it's too fast, make a counter and set it, for example, each 2 updates.