Layers: Is it possible for Actor to Walk on Path Layer and only bounce when hitting the grass layer?
So I am creating an RPG style game. I have a Grass Layer and a Path Layer. I put the Path Layer on top of the Grass Layer. My Actor (Character) to walk along the path and have the grass act like a wall. How would I go about doing this. I put the Grass Layer down, Created a New layer for the Path, and Created a new layer for my character. When I hit play, my Character automatically goes outside of the grass to the edges. Any suggestions would be great.
Comments
http://www.ibiblio.org/sinner/dibus/aqua-z.jpg
So imagine if you were trying to make your character walk only on that z. That would not work because if you look behind the z, it has all of the blue space. So ultimately that actor is shaped like a square. If you tried to make the actor collide with the blue, but walk inside the z, that would not work because it is actually a square. The same applies for a picture that has a transparent surrounding area, but a solid inside, it is still shaped like a square.
So how do I fix it? First remove any collision rules, and make a new actor called wall. Make the wall transparent and remove movement are rotation in the settings. Then in the case of that z picture, you would make the walls surround the z and make a rule that the player would collide with the walls. So now the actor can walk inside the z, but not outside of it.