Animating texture Without Sprite Sheet

Hi everyone!

I just wanna know if is it possible to animate a texture in Unity without using Sprite Sheet technique. Shiva Engine do it quite easy and I am finding a similar thing in Unity.

Following a example: 1

Thank you in advance!! :wink:

http://docs.unity3d.com/Documentation/ScriptReference/Material-mainTextureOffset.html

–

I already do this same method when using spriteSheet... animating offset values... But I am looking for something similar to the result on the video above... offset only the top of the texture instead of the entire image, for a more natural vegetation behavior.

–

As Alu says, the exact way you do that is just moving the textures around. use the Animation systen in Unity to do so also, it's possible you're looking for the excellent and amazing SmoothMoves package (asset store).

–

Thank you for the tip Fattie, but unfortunately I am using Unity 3.4 and the SmoothMoves is for 3.5... But seems to be a great asset indeed!!

–

1 Answer

1

You can use unities build in animation system for rotation , transformation and some simple hover effects etc

hope this comes handy

Do you have any example Omir? I'm not understanding... :/

–

basically unity comes with build in animation system, You can use it by navigating to Windows>animation-tab ... there you can use simple frame controls to animate objects or in your case textures by transforming there width, height, etc you can also rotate them in any angle, you can add you effects there with GUI Texture GameObject like change color etc, and save final animation in .anim format and use it where ever you want.

–

if you use bold too much unless you are me all your posts will just be deleted by admins

–