Animate UVs fp10

Software: Away3D 3.x

DarkNarayan, Newbie
Posted: 31 December 2012 10:21 AM   Total Posts: 3

Hello Everyone,

I’m animating bitmaps with using this code with away3d 4.x;

myMesh.subMeshes[0].scaleV = 0.5;
myMesh.subMeshes[0].offsetU = 0.5;

But currently i’m using away3d 3.x and couldnt find any way to do it.

Thanks in advance

   

Rasterizer, Member
Posted: 31 December 2012 11:42 AM   Total Posts: 69   [ # 1 ]

You need to enable UV animation on the corresponding material. It works.

mesh.material.animateUVs = true;

   

DarkNarayan, Newbie
Posted: 31 December 2012 11:47 AM   Total Posts: 3   [ # 2 ]

away3d 3.x doesnt have material.animateUV method.

I’m using away3d 3.x library smile

   

Rasterizer, Member
Posted: 31 December 2012 12:02 PM   Total Posts: 69   [ # 3 ]

Well I looked at this…

DarkNarayan - 31 December 2012 10:21 AM

I’m animating bitmaps with using this code with away3d 4.x;

... without looking at this. My bad.

DarkNarayan - 31 December 2012 10:21 AM

But currently i’m using away3d 3.x and couldnt find any way to do it.


This little confusion brings me to the point - why don’t you use the newer version ?

   

DarkNarayan, Newbie
Posted: 31 December 2012 12:08 PM   Total Posts: 3   [ # 4 ]

Because twenty percent of my web site users have flash player 10. But away3d 4.x is working with flash player 11.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X