How would I make a flashlight "light" through the air

Don’t know if this should be in the scripting or building section, but my flashlight only hits walls or floors or objects, and I want it to go through the air,

currently:
https://gyazo.com/adf831cae50592a8898d7dd9e1312c6e

what i want:
image
image
image

3 Likes

image
Same with these lights

1 Like

Use a Beam, adjust the wdith, and add a Transition of Transparency and Brightness

1 Like

How would i add brightness to the beam?

1 Like

Set LightInfluence (whatever its called) to 0, should show brightness property after that

1 Like

Still, would a beam only fire in 1 spot, and i can only change the width of the beam and not height + i wouldn’t know how i could make the beam a “cone” shape and follow the flashlights light

1 Like

I mean one of the terrible ways to do this is by using a cone model, making it a bit transparent, and pretend it’s the light scattering.

1 Like

Ah, the classic approach.

If youre looking for a classic-style game, then yeah, this is the right idea.

Otherwise? No.

1 Like

Change the size of the beam and have it attached to a part on your flashlight model and it should point whatever direction your flashlight points.

1 Like

beam needs 2 attachments, unless im wrong

1 Like

Well then create a part called lightpart and make it transparent and attach it to where you want the beam to be


What do i do with this now? I can only change the size of the beam up and down

Does the beam work normally when you play the game? (Light up the area as intended)

the beam is just being a beam, the light is coming from my flashlight and currently the beam does nothing, aka it’s the same as in the picture

Hmmm. Can you send an image of the toolbox for the model with the beam properties?


image

alright I did some further research, and I would recommend not using a beam as it only transports the light between the 2 attachments. I would recommend using a spotlight or pointlight, even though it may lead to a slight performance drop. You should only need one part for the point/spot light and you’ll be able to change its size through the radius property. Let me know if you need anymore help.

In the video on the original post im using a spot light and the light works but then comes the error of this entire post

Scrapped this idea not using it.

I mean me being a builder and a non-programmer, guess it makes sense why I mentioned that, LOL.