So object A collides with object B. Then I want to manipulate a variable from object B using a machine from object A.
The first thing that came to my mind is to set object B as a Selected Object after object A collides. Problem is, how will I implement this?
I have to implement it in a way that it is object A that changes the variable from B, not B itself manipulates the variable because objects A through Z will have different ways of interaction, and simply bombarding B with conditions that detect the identity of the colliding object (Is it object A? C? D? ETC) will make it clunky.
Sorry newbie here. Thanks!