18.08.2016, 18:12
Well, I have two computers. On one of them (the laptop), flymode works beautifully and smooth. On the other (the desktop), not so much.
On the laptop my camera always moves where I'm looking (well, not instantly depending on ping, but that's perfectly fine).
On my desktop I can be trying to move straight and it'll occasionally start going sideways (even though my camera never turned). Also, when I do turn the camera takes a lot longer to start going the other direction, which is normal when your ping is high but mine is localhost speed for fucks sake.
So I ran a test on both machines, just printing the results of GetPlayerCameraFrontVector every 100 ms.
On the laptop the results were almost always what they should be, the direction I'm facing.
On the desktop however, only like half of them were the direction I was facing. All of the rest seemed random.
Does anyone else experience this? What could cause this specifically on my desktop (which has much better hardware by the way)?
Note: I was holding the aim key during the test which makes GetPlayerCameraFrontVector and GetPlayerCameraPos update much faster.
EDIT: Since I did that test like 2 months ago and forgot what exactly happened, I just did the test again. Apparently the camera position gets all 0's and in the front vector the X and Z gets 0's. I find it strange, but the front vector's Y actually remains correct.
On the laptop my camera always moves where I'm looking (well, not instantly depending on ping, but that's perfectly fine).
On my desktop I can be trying to move straight and it'll occasionally start going sideways (even though my camera never turned). Also, when I do turn the camera takes a lot longer to start going the other direction, which is normal when your ping is high but mine is localhost speed for fucks sake.
So I ran a test on both machines, just printing the results of GetPlayerCameraFrontVector every 100 ms.
On the laptop the results were almost always what they should be, the direction I'm facing.
On the desktop however, only like half of them were the direction I was facing. All of the rest seemed random.
Does anyone else experience this? What could cause this specifically on my desktop (which has much better hardware by the way)?
Note: I was holding the aim key during the test which makes GetPlayerCameraFrontVector and GetPlayerCameraPos update much faster.
EDIT: Since I did that test like 2 months ago and forgot what exactly happened, I just did the test again. Apparently the camera position gets all 0's and in the front vector the X and Z gets 0's. I find it strange, but the front vector's Y actually remains correct.