Anaminus / roblox-bug-tracker

Formerly an unofficial bug tracker for Roblox.
33 stars 24 forks source link

Roblox Studio Pos Glitch. #817

Open Microsoftstore opened 7 years ago

Microsoftstore commented 7 years ago

Strange Bug Where the position gets stuck at something called Nan, if you zoom in to the effected model your cam will bug out. I have created a model that if you insert into your place and check the handle of the hat the char has you will see its position is Nan.

https://www.roblox.com/library/542042949/might-corrupt-save-files-broken

glitch

JodeRBX commented 7 years ago

NaN stands for Not a Number -- it's a quirk of how floating point numbers (decimals) are typically stored by computers. You'll find NaN when dividing by zero, raising zero to the zeroth power, and doing other undefined math operations. You can detect NaN programmatically by exploiting the fact that NaN ~= NaN (that is, 0/0 == 0/0 is false). In your case, though, you probably just want to set the position, velocity, and rotation back to sensible values.