Changing light color between players when they collide (BOLT)
Hello Everyone, I'm fairly new to scripting and work with bolt to learn scripting. For a project at school I'm making a room with multiple lights in them with colliders and rigidbody's. What I want is that when 2 players are in danger of getting to close to each other, the lights between them turns from green to red. I have a raycast and collider(istrigger) on the players and made a script in bolt. But I can't seem to get it working and I was wondering if someone could help me with this. I used this flow macro to find the light objects: https://support.ludiq.io/communities/5/topics/1667-how-would-i-go-about-finding-the-closest-game-object-by-tag And the pictures are to show what my project looks like. Thanks a lot!
Your answer
Follow this Question
Related Questions
How to change the color of an object when it collides with another object? 2 Answers
how do I let a player pass through a wall when it is the same color? 0 Answers
Ignore collision based on position 1 Answer
How to make an object that collides with just the player? 1 Answer
ontriggerexit not working 0 Answers