Swift 3D v3

How can i tween a cube that goes from 0 depth to .1 depth?

unh?

(i mean i dont really get your question)

I have a cube. It starts as a flat sheet. Then it increases in depth to .1

why do you want to use swift for that you can use flash alone, if you have flash mx that is you can make a square and use the free transform tool, and select the distort tool and change the perspective, or if ya got an example of what ya trying to do would be great because i dont understand what you really want to do either, sorry :-\

Distort? That doesn’t give realistic 3D.

all you have to do is start with your flat cube then hit the animate button. place a keyframe where you want the tween to end. Then change the property you want to change. In this case the depth. Then check your animation. That should be it unless I did not understand your question

That should have been it… But, it is not that simple. Swift changes every keyframe of the cube when you change the depth of it.

something like this you are trying to accomplish?? If you are you have to scale the z scale attribute. I think you may be trying to animate depth (literally). actually depending on your camera angle it may be the y scale.

Lemme know if you need more help

Yup. That was what I wanted. I know how to do it now. Thanks. :thumb:

glad I could be of service