Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

  • 0
Sign in to follow this  
fpsarmedunity

Prevent Spotlight to disappear near walls

Question

I have a question from some time but never asked...

how we can do to prevent spotloght(form flashlight for example) to not be shown when near a wall

 

i want oto avoid that my flashlight disapper when player is near a wall..

 

Share this post


Link to post
Share on other sites

8 answers to this question

Recommended Posts

  • 0

Your flashlight is just sitting too far out, pull zero out the z position of the light to the z position of the player, otherwise your light is going completely through the wall

Share this post


Link to post
Share on other sites

  • 0

It does not disappear. In fact, your light is inside the wall. You have to adjust its position ++

  • Like 1

Share this post


Link to post
Share on other sites
  • 0

thanks to both for you replt but  i dont understand what you mean.. my plashlight trasform postion for z axis is set to zero..

what i missed?

Share this post


Link to post
Share on other sites
  • 0

yeah.. i cannot managed to work before since i modified the flashlight on the clone player lol.. ..figured it.. many thanks..

Share this post


Link to post
Share on other sites
  • 0

btw this work if i attahc the spotliht to the zero pos of the player but waht about  if i want to have a flashlight attachment for a wepaon..i tried and the issue return..

Share this post


Link to post
Share on other sites
  • 0

Just make sure the light is further back (at the players location) and it'll be fine, reguardless of what it's patented to

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...