This is a papersprite, the collision is enabled inside of the object aswell, I want to be able to move inside of it though. Anyway I can make it so that collision is enabled but it doesn’t detect collision on the inside? (Without using multiple box collisions ofc)
Problem: Can’t move inside of the box: upoj further investigation, can move outside of the box and collisions work around the box borders
Intended, trapped inside the box, but can move
I DO NOT WANT TO USE BOX COMPONENTS! I will be scaling this sprite repeatedly and that will just make the tons of work later on.
Hey @Soldier1! Let me be the first to welcome you to the forums!
I’m having a slightly difficult time answering your question because I’m not sure what the interaction is and what the desired interaction is. Can you show a video? Or maybe just some more screenshots, so we can gather a little more information?
I have a few ideas but I want to make sure what I show you is what you need!
Hey there, thanks for your help. Hopefully this unlisted video helps you understand my problem. As you can see the first example is the intended product, however I do not want to use box collisions here, just the papersprite collision, example 2 is doing just that, It is showing off what only Papersprite collision does. This sprite was uploaded as a .PNG file with Paper2D settings.
Hmmmmm. So what I’m seeing is the collision is one box collision across the entire thing. Even though you might think this is empty, this is a solid square.
Meaning: That’s the reason your heart there is trapped in one spot like it’s snared in a web.
The way this is typically done is with a single actor with 4 box collision “Walls” plus a non-colliding sprite for visual representation, which is incidentally very easy to scale. Is there a particular reason you’re set on not doing that?
child components do not scale correctly in this scenario, so I will have to do extra work to scale the box components seperately if lets say, you escape the box (it also scales incorrectly inside the box aswell in some scenarios.)