Skip to main content
9 events
when toggle format what by license comment
Feb 26, 2019 at 0:03 vote accept tmighty
Feb 25, 2019 at 23:53 comment added DMGregory That's a different question than we started with, so you should post this as a new Question. Be sure to include not just the code you're using now, but also description of the behaviour you want it to have.
Feb 25, 2019 at 23:51 comment added tmighty I guess my question should be "Getting the difference of Y between 2 quaternions", but I'm not sure about it.
Feb 25, 2019 at 23:45 comment added tmighty I have added a real life sample. Can you tell me how to deal with this?
Feb 25, 2019 at 12:57 vote accept tmighty
Feb 25, 2019 at 23:50
Feb 25, 2019 at 12:03 comment added DMGregory Yes, we're talking about the same thing. As explained above and in the linked answer, the numeric difference is not significant. There are many equivalent ways to write any orientation as Euler angles. The inspector sometimes shows a different but equivalent formulation. It's generally not a good idea to try to do math on an Euler angle value directly. If you need to compute or blend orientations, quaternions almost always give you a more consistent and sensible basis for that work.
Feb 25, 2019 at 12:02 comment added tmighty Thank you. I'm not sure if we talk about the same. I have added a screenshot to my post. In this screenshot you can see that the localEuler angle relates to the rotation Y value shown be the Inspector. I don't think the Approximately needs to be used to get the value shown by the Inspector. Am I wrong?`
Feb 25, 2019 at 11:48 vote accept tmighty
Feb 25, 2019 at 11:48
Feb 24, 2019 at 23:09 history answered DMGregory CC BY-SA 4.0