tf2classic/tf2classic-issue-tracker

Rotating entities only rotate for 360000 degrees before stopping and spamming the console with BadSetLocalAngles error.

Opened this issue · 3 comments

Rotating entities such as func_rotating and func_door_rotating only rotate for 360000 degrees before stopping and spamming the console with a BadSetLocalAngles error.
image
This bug does not seem to affect phys_motor rotated physics objects.
This bug also exists in live TF2.
This bug has been fixed in other source games and mods such as CSGO and Momentum Mod.
Here is a simply .vmf that shows this issue: (rename it)
test_rotatingmaxangles.txt

Thanks for the report! On investigation, this is already fixed in our 2.2 branch, since we rebased on top of Mapbase which includes a workaround for it, so that'll ship with our next update. That said, looking into this showed that another project made a more sophisticated fix which we'll try to implement. Either way, it won't be an issue then.

Awesome!

Should be re-opened. I tested this in 2.2 testing and while the fix does seem to apply to func_rotating, it does not to func_door_rotating which breaks in the same way.