Skip to content

Player velocity not reset on point-to-point use of teleporter #2583

Description

@felixwalberg

Threadbare version

v0.2.1-27-gcee61e11

Affected scene

No response

Description

If the player enters the CollisionShape2D of a teleporter.tscn while moving, that movement velocity "leaks" out of the teleportation, and the player will continue moving in that direction temporarily.

I can recreate this by running into a teleporter and letting go of the keyboard controls before the animation finishes, and the player will run into a wall near the target spawn_point_path.

This behavior does not seem to occur when the target is a different scene from the one the teleporter exists in.

Screen.Recording.2026-07-22.at.2.17.19.PM.mov

Checklist

  • I've reviewed and agree to follow the code of conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    Status
    Untriaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions