Skip to content

sample_baked_with_rotation gives wrong transform #78361

Description

@botero-dev

Godot version

4.0.3.stable

System information

Windows 10

Issue description

evaluating a curve's sample_baked_with_rotation gives wrong Transform2D:

55374fd468146e8611b46b327faa6843.mp4

The texture should read A B C D correctly, you can see it flips the texture vertically

It is trying to match textures Positive Y to the path direction, and then positive x to the right of the path.

I think the two correct options would be:

  • map negative y (which would be up) to the path direction
  • map positive x to the path direction (which I would like better, but would like to know your opinion)

I found this while working on this PR #77819
I could give a shot at fixing this during the weekend

Steps to reproduce

Just run the example project

Minimal reproduction project

PathSampleBug.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions