I want to position an object to always be in front of player, accounting for the players rotation.
Now I can technically do that if I use the objects center rotation point to my advantage by moving the objects to that approximate position in my modeling software and exporting like that instead of making sure that the objects is at the dead center of the workspace before exporting. In that case I just have to use the objects local rotation in AppGameKit to have the objects be rotated with the player camera.
But the function I need to do this in code would be used in many other places so I need to figure this out code. wise.
Provided original X, Y and Z, Distance from X, Y and Z and X,Y,Z rotation, how can you get the second position?
Eisenstadt Studio: Eisenstadtstudio.com
Composers Page: Milesthatch.net