Can Penalties be used with PointGraphs?

The title says it all, can penalties be used with PointGraphs? I tried a lot today, it didn’t work. But I found nowhere information that it doesn’t work with PointGraphs :confused:

Hi

They should work perfectly fine. If you are using GraphUpdateObject, make sure to adjust the “height” variable of the component, it is a bit bad because it does not show up in the gizmos at the moment. Basically you need to make sure that the nodes are contained inside the bounding box of it, not just that it is inside the shape when seen from above.
Also, try larger penalties, something like 10000 or greater.

Thanks for your answer! but I tried it all :frowning: GraphUpdateScene works without a problem with a GridGraph but not with a PointGraph. Here’s a video as a proof where I want to modify walkability: http://youtu.be/nMrsbInvC00
What am I doing wrong?

Please I really need help! I accidentally clicked the “Accept” button because I thought otherwise the others couldn’t see your response, but it didn’t solve my problem :frowning:

Hi

Sorry for the delay.
Try to download the beta version, it should work there.

I now programmed it myself, but thanks for answering anyway! :wink:

Ok, sorry for taking a long time to answer.