How to point this compass to north?
I made this compass and i want to use it in game, but I can't figure out how to point the pointer to north (X axes). It's most likely a very easy solution, but that solution is very welcome :).
I have a Blueprint Class which has all the components, and i need to rotate the pointer on the Yaw.
Since I'm here can someone tell me how to get the ring on the top of the compass to react to physics.
Thanks for your time :)
asked Aug 21 '15 at 11:16 AM in Blueprint Scripting
1) Get Actor Rotation and use the "Y" value and plug it directly into your pointer rotation.
answered Aug 21 '15 at 11:36 AM
I think you have to solve a two planes intersection problem ( the compass is the first plane, and the Axis the other one) the intersecting line gives you the absolute rotation of the pointer.
Think a few about it, if you need more help I will try to sholve it in UE.
Follow this question
Once you sign in you will be able to subscribe for any updates here