Skip to content

navigation_agent.set_velocity() doesn't autocomplete in GDScript, so maybe replace it? #8880

@AdriaandeJongh

Description

@AdriaandeJongh

Your Godot version:
4.2.1

Issue description:
The docs mention navigation_agent.set_velocity(), but this doesn't autocomplete in GDScript because it's the setter of navigation_agent.velocity. The docs should probably be modified to use navigation_agent.velocity instead, so that noobs like me don't get confused as we are writing what's in the docs and the autocomplete makes it look like the method from the docs doesn't exist.

URL to the documentation page:
https://docs.godotengine.org/en/latest/tutorials/navigation/navigation_using_navigationagents.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions