setPointWeightScale(id:weightScale:)

    Sets the weightScale for the point with the given id. The weightScale is multiplied by the result of _computeCost(fromId:toId:) when determining the overall cost of traveling across a segment from a neighboring point to this point.

    AStarGrid2D.swift:799
    final func setPointWeightScale(id: Vector2i, weightScale: Double)

    Other members in extension

    Types

    Type members

    Instance members

    Show implementation details (2)

    Hide implementation details