Hello, I'm currently trying to create a side scroller where the level scrolls from right to left and where each part of the ground has a physics body (to prevent the character from falling off screen). I'm currently in the phase where I'm creating the level.
I'm using Texture Packer to create image sheets that include the ground sprites. Additionally, I'm using newOutline to get the shape of the physics body which I am attaching to each ground sprite.
I've run into the following issue:
If I use the "Trim" trim mode in TexturePacker, the physics body does not appear in the same position as the image if there is whitespace trimmed off the image.
I've created a test program that shows the difference in position.
I'm curious is this is expected behavior and if there is a way to fix this (aside from setting Trim mode to "None")