Because the cave was dark and cast strange shadows I could play on this and would let the player use a flashlight to find their way.
Setting a new input for the flashlight
Added a spotlight to the player component
The light is small but does work when I move my mouse but only horizontally and not vertically
Blueprint script to make the spotlight follow the camera
Finally added script to make the flashlight turn on and off when I press 'E'
Flashlight Off
Flashlight On
No comments:
Post a Comment