question

Lars Christian J2 avatar image
0 Likes"
Lars Christian J2 asked Allister Wilson edited

AStar.Navigator or AStar.navigator?

When using addDynamicBarrier, I have to use AStar.navigator with lowercase n for navigator. This option is not immediately available in the dot syntax popup. It is first available after writing "AStar." The manual specifies capital Navigator 1629192061595.png.Is it a bug?


1629191882025.png1629191936326.png

FlexSim 21.2.0
bugastar navigatorflexsim 21.2.0
1629191882025.png (16.5 KiB)
1629191936326.png (15.2 KiB)
1629192061595.png (3.4 KiB)
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Allister Wilson avatar image
2 Likes"
Allister Wilson answered Allister Wilson edited

AStar.Navigator is a class which contains the addDynamicBarrier method.
This method is not static, and therefore can only be called on an instance of AStar.Navigator.

AStar.navigator is a static property of the AStar class which gives you an instance of AStar.Navigator, on which you can call addDynamicBarrier.

AStar class manual page

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.