Search Unity

  1. Are you interested in providing feedback directly to Unity teams? Sign up to become a member of Unity Pulse, our new product feedback and research community.
    Dismiss Notice

Light-Highlighted object

Discussion in 'General Graphics' started by aanfuso97, Jul 26, 2021.

  1. aanfuso97

    aanfuso97

    Joined:
    May 15, 2020
    Posts:
    1
    Hi everyone, I've been trying to do this for a while but couldn't find a solution.
    I'm creating a volleyball game. There is a BoxCollider linked to the player that sets the ball to "Hittable" whenever It enters the collider.
    I want the ball to be "highlighted" when It enters the collider, so that the player can visually understand when he can go for the shot/pass, I linked an image hoping to clear it out what I mean.
    The problem is that I wasn't able to do this through the Point Light cause it requires the light to hit a surface in order to be seen, but I need it to be shown without hitting a surface.
    Is there any solution? Thanks a lot
     

    Attached Files:

  2. bgolus

    bgolus

    Joined:
    Dec 7, 2012
    Posts:
    10,907
    You want a particle or sprite attached to your ball.
     
unityunity