Skip to content

Documenting MoveToFinished Limitation #1186

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

metricrb
Copy link

@metricrb metricrb commented Aug 4, 2025

Changes

  • Added a new section called "MoveToFinished limitation" to content/en-us/characters/pathfinding.md.
  • The new section explains that using the Class.Humanoid.MoveToFinished event works in most cases, but may cause performance issues in larger games or with many NPCs.
  • It recommends using the IsCurrentWaypointReached function in the ClickToMoveController module (found under each player's PlayerScripts > PlayerModule) to determine when to move to the next obstacle.
  • Provides pointers to an example in the Pathfinding Tutorial Experience and a Player Path Following Script model.

Previous info:
https://devforum.roblox.com/t/npc-moveto-has-a-stuttering-effect-whilst-using-pathfindingservice/3067241?u=m_etrics
https://devforum.roblox.com/t/feedback-on-character-pathfinding/3600300

Checks

By submitting your pull request for review, you agree to the following:

  • This contribution was created in whole or in part by me, and I have the right to submit it under the terms of this repository's open source licenses.
  • I understand and agree that this contribution and a record of it are public, maintained indefinitely, and may be redistributed under the terms of this repository's open source licenses.
  • To the best of my knowledge, all proposed changes are accurate.

Added a limitation that has existed for a long time with no update to docs.
@metricrb metricrb requested a review from a team as a code owner August 4, 2025 23:40
@github-actions github-actions bot added the engine guides Changes the Engine guides label Aug 4, 2025
@github-actions github-actions bot added the changes requested This pull request has changes requested prior to merging label Aug 4, 2025
@metricrb metricrb changed the title Pathfinding is current waypoint reached Documenting MoveToFinished Limitation Aug 4, 2025
@metricrb metricrb marked this pull request as draft August 9, 2025 13:20
Copy link

This pull request has been inactive for 14 days. If there's no activity in the next 7 days, it will be automatically closed. To keep it open, please comment or push new commits. Alternatively, add the label do-not-close to exempt it from auto-closing. 🫡 🙏

@github-actions github-actions bot added the stale label Aug 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changes requested This pull request has changes requested prior to merging engine guides Changes the Engine guides stale
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant