Camera moves slowly back to origin


i'm moving camera around in 3d room. when move left/right/up/down (using seperate sprites), want camera move it's original position (like piece of elastic).

any ideas on how script this?

check out 'interpolateto' function. specifically, need like:

mycam.transform.interpolateto(originaltransform,80)

each time above line executed, 'mycam' move 80 percent of remaining distance towards 'originaltransform'. originaltransform should duplicate of camera's starting transform.

hope helps!


- ben


More discussions in Director 3D


adobe

Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO