I have a modified a Lidar project : https://forums.unrealengine.com/deve…ce=&viewfull=1
I have changed it so that the Lidar is rendered out from a static camera in the scene, four cameras to be exact, they capture depth from the inside of the inner side of a sphere see here:
A 2DSceneCpature component saves the depth to a render target, I use this in a material to reposition a long chain of quads that I have generated at run time.
This works correctly, however, each of the quads rendered on the sphere always face the player camera, done using this:
I would like each of the quads to face the centre of the circle where the depth is being captured from.
I know to get that direction it is the Origin-WorldSpacePosition, but I do not know how to use this in Transform3x3Matrix to make that position face the origin.
Any help would be appreciated, or point me in the direction of a tutorial so I can understand the manipulation of the world space positions using the transform matrix.
The whole mat for reference.