1

(Sorry for the confusing title, I didn't know how to explain this)

I have a sphere and a lot of tiles in a scene:

enter image description here

I want all the tiles to move up and down when the sphere gets close to them:

enter image description here

I tried to use a driver on the tiles, but instead of all the specific tiles moving when the sphere got close to them, they just mirrored the location of the sphere:

enter image description here

I'm not sure if drivers are the best way to do this, if it isn't, please let me know how I can do this!

Thanks Daniel

Daniel
  • 622
  • 4
  • 16

1 Answers1

1

I think you were very close, If you added driver for the tiles z location to copy it from the sphere, you need to create an "fallof" effect - Open driver editor add input variable, change it's type to distance, in the expression now you can divide position value by distance value. To make the fallof effect stronger/weaker divide/multiply the distance by some constant value. Keep in mind that when the distance will be between 0:1 then you will divide position by a fraction - which means it will actually exaturate it, so to keep it on a safe side, you can simply add 1 to your distance/strength_factor.

enter image description here

Rafal Zera
  • 151
  • 4