Animated Directionalsprites

Software: Away3D 3.x

Tempy111, Sr. Member
Posted: 29 November 2015 06:59 PM   Total Posts: 133

Okay, so I added a Directionalsprite via that class, gave it (to test) 4 angles.. I’ll add more later.. so that’s all well and good, but now what do I do about animating it? how I see the various bits work, don’t seam to apply when it comes to directional sprites.

the closest I seam to find is via a MovieTexture, so I have the animation as part of a movieclip.. and each angle then gets a different movieclip texture but I’m not sure if this is a good way to do this or not.

Sprite Sheet is possible I guess.. if I can figure them out (most of the time I keep finding Away3D 4 stuff, but not 3.6 ¬_¬ annoying)

   

Tempy111, Sr. Member
Posted: 30 November 2015 12:47 PM   Total Posts: 133   [ # 1 ]

Also, seam to be having minor issue where an image can’t be found until the angle changes to look down on it a bit. just a simple pan around shows most angles work fine, but when it comes to the back, the image is replaced with a small square border which I guess means missing image, but if I pan upwards so i’m looking down on the sprite, it appears..

Vertex(1,0,0) seams fine but between that and the back (vertex (-1,0,0)) there is nothing so, (0.8,0,-0.8), (0,0,-1), and (-0.8,0,-0.8) (using the example from the cookbook) don’t want to display unless I look downwards onto the object.. weird..

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X