Skip to content

Strong bursts of motion break when at high coordinates and pointed away from 0,0,0 #16

@jarrodmmoore

Description

@jarrodmmoore

Beyond around x=1,000, launching with high strength in a direction away from world origin causes some odd behavior. I get launched backwards instead of forwards (possibly due to an overflow?). This might happen for z as well but I haven't checked yet.

Experienced when using function player_motion:api/launch_looking with $strength 7500. I was also gliding with elytra, but I doubt that's relevant.

Hopefully this is something fixable. I know the math has to be done with integers, which can really suck.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions