From 0e71c0f5815d1379fdb7393790e680b56ccf78c4 Mon Sep 17 00:00:00 2001 From: Teriuihi Date: Sun, 22 Jun 2025 20:15:35 +0200 Subject: [PATCH] Fix textures overlapping and glitching for legs --- frontend/src/app/particles/services/player-model.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/particles/services/player-model.service.ts b/frontend/src/app/particles/services/player-model.service.ts index 73f8699..996e1b3 100644 --- a/frontend/src/app/particles/services/player-model.service.ts +++ b/frontend/src/app/particles/services/player-model.service.ts @@ -166,7 +166,7 @@ export class PlayerModelService { // Left Leg - 4x12x4 pixels in the texture this.playerModel.add(this.createBoxWithUvMapping( - 0.25, 0.7, 0.25, // width, height, depth + 0.26, 0.7, 0.26, // width, height, depth [ {x: 4, y: 16, w: 4, h: 4}, // top {x: 8, y: 16, w: 4, h: 4}, // bottom @@ -180,7 +180,7 @@ export class PlayerModelService { // Right Leg - 4x12x4 pixels in the texture this.playerModel.add(this.createBoxWithUvMapping( - 0.25, 0.7, 0.25, // width, height, depth + 0.26, 0.7, 0.26, // width, height, depth [ {x: 4, y: 16, w: 4, h: 4}, // top - mirror of left leg {x: 8, y: 16, w: 4, h: 4}, // bottom - mirror of left leg