Question about Rotation function

I’d like to know how the rotation Distance() function works like this :

R1 := MakeRotationFromYawPitchRollDegrees(0.0, 0.0, 0.0)
R2 := MakeRotationFromYawPitchRollDegrees(90.0, 0.0, 0.0)
YawDistance := Distance(R1, R2)
Print("{YawDistance}") # Prints 0.292893

Idk why but I’d expect it to print 0.5, could someone tell me more ?

Also, explain like I’m five if you can :slight_smile:

@im_a_lama Thank you for your feedback. While I cannot guarantee a response, I can confirm that this has been forwarded to the appropriate team.

Thank your for the feedback. The documentation for that function is currently not very helpful, as it doesn’t give any details on what the returned ‘Distance’ actually represents. We’ll see if we can improve the docs, and maybe provide a function for getting the ‘angular distance’ between two rotations.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.