Skip to content

Terrain export x-axis position is not right #5

Description

@doudouye

Vector3 pos = new Vector3(-(startY + y), tData[startX + x, startY + y], (startX + x));
tVertices[y * w + x] = Vector3.Scale(meshScale, pos) + terrainPos;

These line make pos's x negative first and add terrainPos is not right.
Need Add terrainPos first then make pos's x negative. Becasuse it make world position right first then do negative to make it right in 3DMax.
God~ T.T

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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