- Home /
How to do a emission ripple effect through crowds of objects
rewording this in case first question doesn't get picked up on
I have a scene where the player is surrounded by objects and upon event trigger, all the emission shaders will turn on in these objects one by one like a ripple. I don't know how to achieve this. The only way I can think of is that each obj (they're all the same) is given an if statement of trigger and each one has a different time delay to react after the triggered event. This seems extremely tedious and I'm sure there's a better way to do this. (beginner here)
Answer by Zaeran · Jul 23, 2019 at 11:34 AM
You could probably just create an invisible sphere with a trigger collider at the player position and scale it up over time. Then, each object can do the ripple effect in an OnTriggerEnter function.
Your answer
Follow this Question
Related Questions
Emission blinking script 1 Answer
Problem with spawning with companion AI,Script not working properly when GameObject reactivated? 0 Answers
Emission Script 1 Answer
Want a script that can instantiate an object when MOVING inside the trigger 1 Answer
Make a public slot to load the scene dragged in there? 0 Answers