so i am making a game with a flashlight so how do i make a flash light that follows the mouse around the player and makes things appear when they are on the player and disaper when not in collision
you can add a light object to the scene, and increase it’s radius.
set the ambient light colour to black
you should have this.
you can make the light follow the mouse/cursor with this
you can show and hide like this -
thanks (20 charsssss)
glad I could help, …
This helped me out but is there a way I can make my flashlight turn in different directions? Like, It can follow my mouse but I want my mouse to control which way the flashlight turns. The flashlight is only facing east for some reason which is starting to piss me off.