[3.0 2D] How to update NavigationPolygonInstance through code to fit other CollisionShapes?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By GunPoint

Okay, so i am making a 2D real time strategy game.
I made the builders kinematicbodies (separate scene) so the builders can be instanced, move around at click, build etc.
The problem is that the NavigationPolygonInstance is ignoring the object’s collision shapes, so the builders can go through obstacles.
BTW, im using the code from the Navigation demo.
I noticed that, it is not ignoring rigidbodies’s collision shapes, or kinematicbody’s collision shape, its ignoring the static bodies.
(sorry for my bad english)
Help me…