Closed RevoluPowered closed 11 years ago
The z component on quat:toAngles() is nan.
Relative rotation is [ 90,0,nan ] when i use toAngles()
neb is taking a look.
Same issue stands when multiplying somequat * quat:up()
It probably happens with the other directions too.
It doesn't matter if any of the numbers in the quat or the angle you get from quat:toAngle() is infinity, because Lua can handle that just fine. The problem only occurred if you tried to stuff infinity into setAngle, which Nebual has already added a check for.
Right so its probably going to be something else fucked. Il take a look. On 8 Feb 2013 11:54, "Divran" notifications@github.com wrote:
It doesn't matter if any of the numbers in the quat or the angle you get from quat:toAngle() is infinity, because Lua can handle that just fine. The problem only occurred if you tried to stuff infinity into setAngle, which Nebual has already added a check for.
— Reply to this email directly or view it on GitHubhttps://github.com/wiremod/wire/issues/222#issuecomment-13287316.
I ran this expression on a multiplayer server as I am developing a forklift for moving stuff in spacebuild, It uses prop core.
When i executed the chip it didn't crash only after I got into the chair. As you would expect due to the code.