Get Position of the normal Stride Camera

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.

1 Like

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.

2 Likes

Thanks everyone. Its funny i somehow just overlooked the little pin outlet for the camera components :) makes sense now

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.