tf2classic / tf2classic-issue-tracker

For reporting bugs in Team Fortress 2 Classic.
10 stars 0 forks source link

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

Open 111112oo opened 1 month ago

111112oo commented 1 month ago

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

chloecormier commented 1 month ago

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.

111112oo commented 1 month ago

Awesome!

111112oo commented 1 month ago

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.