- Home /
Having a gameobject disappear at a slant, reappear at a slant
So I've got a complex issue. The scene is set up similar to the ship battles in the game "FTL" There's two ships and a border between them. However, I need to send bullets from one side to another and have them disappear, and the separater between the two is slanted. Additionally, if there's any effects like smoke/shields these would have to remain partially on the the correct side of the slant and invisible on the other..
Some thoughts I had were to somehow use cameras for this, or play around with sorting layers, but the only ideas I have here are overly complicated.
I'm also looking for a solution that's simple to implement, if it's something very complicated I think it'll be easier to just make some compromises with ship design.
Edit: I've done a bit of googling, and I think what I'm looking for is a stencil mask? Continuing investigation.