Click on sphere to change mesh and turn on/off light actor

Hi,

I’m searching for a way to use the “sphere material change” system, but to change meshes in my scene, also to turn on/off some light actors.
Basically, I press an “interact” key on the keyboard and the spheres appear on the scene, then I can change the materials on specific meshes, it works. I’d like to use the same idea and change the meshes themselves, turn on/off light actors clicking on the spheres.
Any idea on how to achieve that?

Thanks!

1 Like

Direct blueprint communication, it’s called :slight_smile:

2 Likes

Nice! Will take a look at that.

Thank you very much.

2 Likes

This topic has been moved from International to Programming & Scripting: Blueprint.

When posting, please review the categories to ensure your topic is posted in the most relevant space. Hopefully, this category change will to give you (or other devs) an answer.

Good luck and happy developing!