Skip to content

The actual projection direction of ClusteredDecal is opposite to what the documentation describes. #19612

Closed
@chendaohan

Description

@chendaohan

How can Bevy's documentation be improved?

According to both the API documentation and the release notes, ClusteredDecal is supposed to project decals onto surfaces facing the +Z direction. However, in my testing, decals are actually projected onto surfaces facing the -Z direction. I believe this is likely a mistake in the documentation.

As far as I understand, in Bevy, the front face of a object typically faces the -Z direction, so projecting decals in the -Z direction makes sense.

API documentation: https://docs.rs/bevy/0.16.1/bevy/pbr/decal/clustered/struct.ClusteredDecal.html
Release notes: https://bevy.org/news/bevy-0-16/#decals

Image
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-DocsAn addition or correction to our documentationS-Needs-TriageThis issue needs to be labelled

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions