i planned to use a billboarded transparent plane over the tile with a texture with small downward arrows on it. then change the UV coordinates in time such that arrows move downwards.
billboarding such a tall plane didnt prove very useful. the plane is placed over tile, so when camera moves around plane rotates accordingly and does not feel like it's over tile. as seen in the screenshot:
setting rotation pivot to bottom center somehow helped but still far from perfect. i guess i need a plane which always remains vertical and faces camera by only rotating about y axis. is there an easy way of this?
i've tried shifting UV coordinates, it works on desktop version but i couldnt make it run on AE. i've also tried calling
touch(), any ideas?
seems as the only way of shifting UV coordinates is via
PolygonManager.setPolygonTexture(int, TextureInfo). the problem here is, we cannot change previously set fields of TextureInfo, so we need to create a new TextureInfo each time. making TextureInfo mutable or providing a method with primitive types may help.
thanks