Skip to content

CharacterBody2D / 3D don't specify which space the Velocity is in. #11221

@viksl

Description

@viksl

Your Godot version:
4.4.1

Issue description:
Nowhere in the docs for the CharacterBody2D or CharacterBody3D the user can find out whether the Velocity should be a local, object local, or a global vector. Same with the returned vectors from various functions in the CharacterBody (get_last_motion, ...).

I think all of the vectors used and returned are in a global space.

There are other classes in the documentation which have the space speficied.

URL to the documentation page (if already existing):
https://docs.godotengine.org/en/4.4/classes/class_characterbody3d.html#characterbody3d

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:class referenceIssues and PRs about the class reference, which should be addressed on the Godot engine repositoryenhancementtopic:physics

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions