- Home /
Transform a Vector by a Quaternion
In Microsofts Systems.Numerics (see exemplified: https://docs.microsoft.com/en-us/previous-versions/windows/xna/bb199541(v=xnagamestudio.41)) following function exists:
Vector3.Transform(Vector3 v, Quaternion q) to transform a specified Vector3 v around the specified Quaternion rotation q.
Is this function equivalent to Unitys:
v = q * v
calculation? If not, which function is the equivalent?
Answer by Bunny83 · Mar 21, 2018 at 08:54 PM
Well, i never used the XNA framework but yes, i'm pretty sure it's the same. If that's all you wanted to ask i guess you question is answers. However keep in mind that Unity uses a left handed coordinate system while XNA seems to be using a right handed system (just in case you want to translate some code)
Your answer
Follow this Question
Related Questions
c# modify only one axis of a quaternion 2 Answers
How to make Y-Axis face away from a position? 2 Answers
Connecting transform with Vector3 4 Answers
Unity Rotate Raycast on Quaternion 1 Answer
Perpendicular Vector3 0 Answers