[Papervision3D] Camera Orbit with "Back" ease
Kevin Burke
pajhonka at yahoo.com
Wed Oct 13 12:41:50 PDT 2010
Okay, I found a solution! It is based on a class from Jozef Chúťka:
http://blog.yoz.sk/2010/04/smooth-orbiting-camera-in-papervision-3d/
http://blog.yoz.sk/2010/04/smooth-orbiting-camera-in-papervision-3d/
I customized the code for TweenMax by replacing the Tweener call with this:
TweenMax.to(this, 2, {onUpdate:updateCamera, cameraYaw:cameraYaw +
calc(dxList, dx), cameraPitch:cameraPitch + calc(dyList, dy),
ease:Back.easeOut, overwrite:true});
Hope this helps someone who has the same problem I did.
--
View this message in context: http://papervision3d.758870.n4.nabble.com/Camera-Orbit-with-Back-ease-tp2994066p2994328.html
Sent from the Papervision3D mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/papervision3d_osflash.org/attachments/20101013/3334e223/attachment.html>
More information about the Papervision3D
mailing list