I am trying to model a volume sensor. I got it working with some simple lines of code but I want it to only trigger with a certain material. From what I understand is that with the ComponentSignal I should be able to extract this property. The file included I am just trying to print the material (“white”) to test it. I am no sure how to access this property.
Now I have sensor.Component.Material and this returns none, so i don’t know if I should use something like sensor.ComponentSignal … or something else.
Ps. don’t mind the other components on the conveyor, it is the first orange one after the feeder
Cylinder_In_VC.vcmx (106.9 KB)
Thanks in advance.