
Water collison mask
Water collison mask
I'm having a issue with a entity involving water tiles. I'm trying to make him collision free except for water tiles. So i made his collision box "{{0,0}, {0,0}}," and his collision mask to "water-tile" but it went over water... I did some research and it seems water tiles aren't in that layer. Is their any way to make the entity not pass through water? Any help would be great 

Re: Water collison mask
Here's the link for the old thread that might be of use.
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.
I also update mods, some of them even work.
Recently I did a mod tutorial.
Re: Water collison mask
Okay so i understand how the collision mask works but the problem is that trees and water are under the same layer called "water-tile". But i wont it to ignore trees but not water. Is this perhaps not possible? Thank you for that quick respond though 

Re: Water collison mask
I don't know in which layers are trees located, they seem to have hardcoded mask for default, but have you tried modifying trees so that they dont't have water-tile collision layer.
Then again, quite many entities have that and your entity will still collide with those.
Then again, quite many entities have that and your entity will still collide with those.
I do mods. Modding wiki is friend, it teaches how to mod. Api docs is friend too...
I also update mods, some of them even work.
Recently I did a mod tutorial.
I also update mods, some of them even work.
Recently I did a mod tutorial.
Re: Water collison mask
I tried multiple ways to change trees their collision mask but not a single one worked. Any idea how it would? Also i'm fine with it hitting rocks. If it would just ignore trees that would be great.