StudioMaker Posted January 3, 2020 Share Posted January 3, 2020 When i trim my spritesheet then the sprite gets kinda wobbly or something without trim vs with trim on https://gyazo.com/f9d1f6cda13325044c35d53d188cc57b var i = PIXI.Texture.from(t.frames.index[t.i]) , o = new PIXI.Texture(i,new PIXI.Rectangle(i.frame.x,i.frame.y,i.frame.width,i.frame.height)) I'm guessing it is because each frame has a different width and height value as its trimmed, although not entirely sure what the best way to fix this is. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.