So I’m currently working on a horror game, in which you need to find objects that have changed since the beginning (For example a painting changed or an objects appeared). In order to reveal those changes you need to take ingame photos of them. Basically, my question is: How would I process those images to check whether a changed objects is in them or not?
I’m thinking it is probably easier to do a giant box trace in front of the camera at the time the player presses the button to take the picture rather than trying to figure out how to do something with the picture after it has been taken.
Hey, sorry im kinda new. Could you maybe explain that a bit more in detail?
This is an older video on box traces, but it should still be relevant to UE5. You would use custom channels to make “changed” objects block (or overlap if you intend to have more than one in an area) the trace.
I guess I don’t know exactly how you are implementing the “picture taking” in your game, though. I assumed it has something to do with the player pointing a camera at something and pressing a button. And, I assumed that it was going to be a rectangular photo. So, when the player presses the button, you can box trace the entire width of area the photo would “see”.
The hard part would be knowing the height and width to box trace. You would have to figure out exactly what the area the camera can currently “see.” I’m not super sure how to do that off the top of my head.
Awesome, thanks a lot.