10-07-2024, 04:02 PM
Hi All,
I'm working on a project that requires me to show a device that fires lasers to several reflectors on an industrial robot arm. As the arm moves, the lasers track with the reflectors but lose connection when there is no line of sight with the device firing the laser.
In the example above, the box is the device firing out the lasers, and the spheres are the reflectors. I want the connection to stay rigid and constant even as the reflectors move. If an object (in this case, a teapot) blocks the line of sight of a reflector to the box, the connection is broken but reconnects once the object has moved out of the way.
As you can see, I've established the initial connection using particles birthed on each sphere, with the box selected as the target in a Find Target node. I'm pretty sure this is not the right way to do it, as the splines remain in their initial position when the spheres are animated (need a Particle Bind maybe?). I also don't have a clue how to create the connection break when another object occludes the direct connection between the two. Hoping someone here might be able to give me a few pointers to help me out!
Thanks,
Andy
I'm working on a project that requires me to show a device that fires lasers to several reflectors on an industrial robot arm. As the arm moves, the lasers track with the reflectors but lose connection when there is no line of sight with the device firing the laser.
In the example above, the box is the device firing out the lasers, and the spheres are the reflectors. I want the connection to stay rigid and constant even as the reflectors move. If an object (in this case, a teapot) blocks the line of sight of a reflector to the box, the connection is broken but reconnects once the object has moved out of the way.
As you can see, I've established the initial connection using particles birthed on each sphere, with the box selected as the target in a Find Target node. I'm pretty sure this is not the right way to do it, as the splines remain in their initial position when the spheres are animated (need a Particle Bind maybe?). I also don't have a clue how to create the connection break when another object occludes the direct connection between the two. Hoping someone here might be able to give me a few pointers to help me out!
Thanks,
Andy