Hey,
Just very basic question. The normal Stide Camera, not the Orbit Camera, doesnt have a position out pin. Can I get the position somehow or do I have to calculate it from the input matrices myself?
thanks
Hey,
Just very basic question. The normal Stide Camera, not the Orbit Camera, doesnt have a position out pin. Can I get the position somehow or do I have to calculate it from the input matrices myself?
thanks
hello! Yes you may get it through the CameraComponent this is how I would do it, there must be a more elegant way but this works good.
You can use TranslationVector instead of decompose, if you only need the position.
And just for reference for those who don’t know, the camera’s transformation matrix (which you need for the position) is the Inverse of the ViewMatrix.
Thanks everyone. Its funny i somehow just overlooked the little pin outlet for the camera components :) makes sense now