hi, it’s 3 days i’m working on this effect, but it just seems not to work
-
What do you want to achieve? i’m trying to make a system where the player must understand that the object they are getting close to is dangerous. The object is going to be white, and the closer the player gets to it, the redder the block becomes
-
What is the issue? i just don’t know how to make it work
-
What solutions have you tried so far? i tried looking for solutions on the forum, and using magnitude, but the effect I get is that when the player approaches the block suddenly turns red, while what I want to achieve is that the closer the player is, the more red the block is, so this also includes intermediate colors between the initial white and red
please, any answer is appreciated, and could be the one to help me, i’m really struggling at this