Support Forum

No Option for Penalties in Inspector?

I’m using the beta version and a Layered Grid Graph. I see the option for “Per Layer Modifications”, but I don’t see any option to add a penalty to a layer. Do we have to do this through code now?

have you tried using a GraphUpdateScene object?
they can select an area and apply a penalty to all nodes within that area
not sure if it would affect all nodes in the area regardless of their vertical distance as my project is using the normal grid graph

1 Like

I haven’t, thank you. I haven’t used this package in a while, so I forgot that you’re supposed to put penalties on the Seeker script. I’m making a tactics game so I didn’t think to use a Seeker script originally.

1 Like

If you don’t want to use a Seeker you can set the Path.tagPenalties array directly.

1 Like