Community

Hi everybody, can someone give me an example how to use the spaceAhead function (for a conveyor) ! I want to use this function to give an entity the acceptance to enter the conveyor. first entity at point XX in the conveyor ----> acceptance ----> the second entity can enter the conveyor. thanks for your help....
Hi Max, The "conveyor.spaceAhead(some_number)" method return the space from the entity with such order number to the exit from the conveyor. For instance, at any moment of time you can call "conveyor.spaceAhead(0)" and get the distance from the first entity on the conveyor to the exit.