There are several ways to do that, could you please eloborate more, some code, what you did, what you expecting, what you want to achieve to in case of forwarding you to best solution.
I consider myself a begginer at C++, and have followed a few tutorials to start learning. I’m trying to use what I’ve learned so far, so I know that the way I picked is probably not the best way.
I’m trying to simulate an industrial process where I have spare parts brought on a conveyor to a robot that needs to pick them up, and place them in the scene.
I created a custom class to spawn the parts a move them on the conveyor up to the picking location.
Once they arrive, I want to tell the robot (of class AManipulateur) to go pick up the part (through a bool) and give him the target.
But to do this I need to establish a link between my spawner and the robot to be able to modify its bool and target location variables, but I don’t know how to do it.
Indeed, as I was saying, I’m a begginer but eager to learn.
All seems to be working. Thanks a lot for your time and answers.
If you have any recommandation to work on fundamentals I’m all ears