When I have debug enabled and I build the program now, it shows the collision boxes and they still collide with things, but the player character and camera doesn’t move with them. (I thought they would since they’re in the same game object (Player) in the collection)
If I remove them and leave them in just the Player Game object, the camera and sprite works as expected with the collision but the collision boxes don’t appear when I have debug enabled. What is going on here?
Another oddity with my debug mode is that I have collision on my tilemaps and when i run the program, two of my areas look normal, with just lines to show the collision shape:
but one of my areas does this, showing the collision boxes of the area like how it does for characters, and i’m just confused as to why theres the difference in debug mode, everything seems to be the same between the tilesheets/tilemaps
It is hard to tell what is going on by looking at the screenshots and your description of the problem. In order to help you I ask that you share a small project where the problem can be observed.
so a version with unnecessary aspects to look at the problem removed or should i just zip the actual file and send it? It’s not a large file, zipped is 40,000KB
Thanks. The problem is that you are resolving collisions for the child game object named “go” (the one with the collision objects) and not for the parent object. This means that you are able to freely move the game object with the player sprite, but the child game object (named “go”) with the collision objects get stuck. I think it would be easier if you put the collision objects in the same game object as the sprite and the rest of your scripts.