[Closed] Convert a quaternion from world space to component space
The question has been closed Apr 28 '15 at 07:42 AM by StrangerGwenn for the following reason:
The question is answered, right answer was accepted
Here what i use, get Rotator from FQuat then get the local rotator then converse back to Quat
answered Aug 26 '14 at 02:25 AM
Hey Gween if i was you i'll rotation matrix because anyway your problem is a mathematic one and what you need to do is to convert value from one coordinate system to another am i right ?
As i understand you the global values of your rotation related to the origin of the level (0,0,0)
so "All you need" to do is to find the matrix to pass from one coordinate system to another.
The best advice i can give you is take a look at mathematic how to Pass from one coordinate system to another. All Good Linear algebra book will have a 3d section and how do it.
Personnally i always keep my book around me.
If you need a concrete example i can build you one or if you need help just tell me
answered Aug 25 '14 at 11:14 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here