PathfindingModifier

非推奨を表示

Pathfinding modifiers can be used to represent space that has a higher or lower cost to be traversed. When added as a child to a Part, it takes that Part's volume to annotate areas of the navmesh that are inside and on top of it.

You can include pathfinding modifiers in the PathfindingService:CreatePath() parameters and compute smarter paths across various materials or around defined regions.

Note that when adding a PathfindingModifier to a part, either:

  • The part is collidable and we are interested in modifying pathfinding costs of paths on top of this part, which we call area.
  • The part is non-collidable (and usually invisible in game) and we are interested in modifying pathfinding costs of paths inside the part, which we call volume.

概要

プロパティ

  • 並列読み取り

    The name of the navigation area inside or on top of the Part volume.

  • 並列読み取り

    Determines if the parts enclosed by the modifier are traversable, even if they would normally be collided with.

プロパティ

Label

並列読み取り

The name of the navigation area inside or on top of the Part volume.

For a more detailed overview of PathfindingService and PathfindingModifier, see Character Pathfinding.

PassThrough

並列読み取り

Determines if the parts enclosed by the modifier are traversable, even if they would normally be collided with. See Character Pathfinding for details.

方法

イベント