How make light sensors ?
I am making a kind of "light simulator" and i was asking myself: How make sensor in UE4 ? Like, you are in a room and you have one window. I would like to place a sensor in the middle of the room and know if there is a lot of luminosity or not.
I would be very thankful if smd help me.
Super janky way to do it. Create a bp with a cube and a scene capture component. Have the scene capture component be ortho with a resolution of 1x1. Capture to a render target and grab the colour from that. You know the base value so you should be able to get some idea of the scene luminosity.
answered Jul 11 '19 at 03:54 PM
Pretty sure there is no way of doing that at least in blueprints. you will have to either create some bp components with trigger boxes or use some kind of line trace method or even if that doesnt work you will have to create your cpp code.
answered Jul 11 '19 at 02:45 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here