- Home /
Rect Mask 2D won't update if I move
Hello!
I'm having some trouble with Rect Mask 2D... I have this structure:
Mask (Rect Mask 2D (also tried with Image+Mask))
EmptyOrganizer (Clean game object)
Enemies holder (Clean game object)
The tanks (Image, Box Collider, Animator)
This is what's inside the mask:
Then I need to have the same structure but 2 times smaller and on the left side. So I scaled everything and moved the mask with everything inside to the left. Than this happen:
The tanks and the mouse image disappear. It will only show when it's in the 1/3 screen to the left, not where it should appear. The same happen if I move to the right, top or bottom. I can move like 100 pixels to each side and it's everything ok. If I cross this "line" the side that's in the middle disappear.
Here's a video showing it: https://youtu.be/1RtZwY2v3wk
Anyone know what it could be?
Thanks guys! ♥
Your answer
Follow this Question
Related Questions
How to mask a 2d Game Board using Unity 4.3 2D GameObjects 0 Answers
Masking a MeshRenderer 0 Answers
Masking an image 0 Answers
Deform sprite using SkinnedMeshRenderer 0 Answers