So I wanted to have a sprite have a ghosting ability so when it collides with certain blocks or sprites (proximity preferred) and it will become non-solid and pass through that object with ease, but when its far enough from that object then it will go back to solid so it can’t go outside of the border. Any ideas?
Try using raycasts and the enabled behavior.
Well, when I use the enabled behavior it just prevents the sprite from moving. I was wondering if there was another way instead of using the enables behavior.
You could always go with the alternative and use the enabled on the object the ghost will go through.
You could make the ghost object not solid but enable collisions, then if you want it to move back and forth you can make invisible barriers only the ghost can collide with.
Oh, that way it might work. I’ll try that.
Well, I tried many times using that idea and other objects kept going through the blocks as well, so I might need an example, or just a an entirely new idea.
Is it a Platformer or Top-down?
Is it the facility? if yes, top down
I’ll just private message you since its a gamejam game and i don’t want the others to see it.
i saw it XD is it the bouncing ball thing?
Yeah, its the transparent ball named Ghost Ball.