Description
Describe the bug
(Moved from https://bugs.mtasa.com/view.php?id=8055 )
The bone positions seem to be 1 frame laggy. It seems that the ped rotation is set after onClientPreRender.
To Reproduce
- Go to my server, SAAW World War II
- Spawn with any class at any team
- Aim your weapon and move the screen
- Weapon position/rotation is 1 frame delayed
- Use first Person mode to see it better ( /fps command )
I am using modified bone_attach, so you could easily reproduce it with that resource anywhere.
Resource by Ren712:
https://bugs.mtasa.com/file_download.php?file_id=1105&type=bug
Expected behavior
Custom attachements onClientPreRender should not be delayed by 1 frame
Video
http://www.youtube.com/watch?v=U95ls5931lE
**MTA version 1.5.6 stable
Additional context
Ren712 reported that this bug only happens with AK47/M4 aiming (his report was MTA 1.3), but you can clearly see on my server that all weapons are affected, in fact, i think bone positions are updated too late in any case and it has nothing to do with weapons at all.