Skip to content

pfacing resets player velocity to 0 #1338

Open
@LadyCailin

Description

@LadyCailin

As this is a commonly used function, this can be used to avoid fall damage when run just before landing. Player velocity should be looked up before the location set, then set back to that immediately afterwards. In the meantime, this can be worked around by doing this in code, but this shouldn't be necessary. Untested, but likely works with set_ploc as well, though perhaps this is not a problem.

Discussion wanted, as this is a breaking change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThings that don't work as designeddiscussion wantedThere are still undetermined aspects of this issue, please comment!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions