Search code examples
anylogic

Anylogic: Understanding the difference between shapes, walls and visibility


I am trying to understand how shapes, walls and visibility in annylogic work. I am designing a store with various different work stations. I use 3d shapes to denote these work stations. I then put rectangular walls around these stations to prevent agents(workers) from walking through the 3d shapes representing the stations. I want to know if the additional rectangular walls are needed or if the 3d shapes on their own can prevent agents passing through the stations. Also how does visibility work. Suppose I have a shape in the presentation layer but it is set to false in terms of visibility. Does this mean the shape has no effect on the simulation or is it still having an effect and the only thing that has changed is that we can't see it in the 3d visualisation. Same with the rectangular walls. If I build a wall around a shape and set the walls visibility to false, does that mean the walls are no longer there and are no effect on the simulation?


Solution

    1. Regular agents do not avoid any type of elements (not walls, not shapes)
    2. Pedestrian and Transporter type agents avoid walls.
    3. Pedestrian and Transporter type agents do not avoid shapes.
    4. Visibility only affects visibility and not function. So if you have a wall set to not visible, Pedestrians/transporters would still avoid it.