Skip to content

Array Mesh: Godot renders in a clockwise direction (relative to what?) #11969

@charjr

Description

@charjr

Docs Version:

Both Stable and Latest

Issue description:

Array Mesh - generating a rectangle

The ``indices`` array defines the order vertices are drawn. Godot
renders in a *clockwise* direction, meaning that we must specify the vertices
of a triangle we want to draw in clockwise order.

Godot renders the vertices clockwise... Relative to what? A specific axes, the camera, the mesh normals?

I was trying to do this with what I thought was clockwise and the rendered polygon faced away from the camera. Have I got my vertices' positions mixed up, or did I misunderstand "clockwise"? 🤷

By clarifying what is meant by "clockwise" here, it eliminates one possibility of where I, and others, may go wrong.

Solution

Either:

  • a link or a (see X) to something else that describes this rendering
  • explain it inline

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:manualIssues and PRs related to the Manual/Tutorials section of the documentationdiscussionenhancement

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions