Im trying to make a simple tile map editor given a spritesheet of textures.
For each tile, Id like to use a different plane.
But im having trouble figuring out how to change UVs coordinates of an already created plane.
I think im confusing the expected value in this two operations:
creating a plane receives a Vector4 as uvs.
but getVerticesData() returns a Float32Array(16) (is it because of sideOrientation being doubleside? I actually only want the front face but idk how to set that up)
Here’s the playground, attempting to switch to the other half of the texture on click: