Hey Folks,
Hollidays are here and there is time for a few more experiments. One thing i find very confusing:
here you can see my problem:
gyazo.com/ad2f1b0ab46d7681094b451cf7b378c0
The shots vanishes behind a bush and then is suddenly visible again.
When i move the "Shots layer" below the "bush layer" this does not happen.
so far so good. Then there is the gras behind the bush.
When the bush is infront everything is fine, but when i move behind it somehow the bush gets partitially transparrent. I also had to move the ceiling layer under the bush layer so the ceiling gets not transparrent.
All this is pretty confusing and there is obviously something i dont understand about the 3d cam. Any ideas what this could be? Do i have to Z order the objects somehow so the one closest to player always is below the other objects?
Infact when i move the grass on top of layer it is the other way arround, the bush hides the gras even on the transparent parts O_o
kind regards and happy chrismas :)
Joschi
Edit: I wanted to playe quite a bit of foilage, but it really looks stupid :D
gyazo.com/8b7f37562ae7323127d43739693a3567 i must be doing something wrong. for clarification, i am using the right side of a square object and rotate the object to the player.