[Papervision3D] Advanced motion with Tweener
Makc
makc.the.great at gmail.com
Wed Jun 11 07:41:27 PDT 2008
what about http://lists.caurinauebi.com/listinfo.cgi/tweener-caurinauebi.com ?
On 6/11/08, David Di Biase <david at mozzly.com> wrote:
> Errr silly me, it would help if I actually imported the class:
> import caurina.transitions.properties.CurveModifiers;
> Ok, haha this is awesome, it moves soooo smoothly *Dave sheds tears of joy*
> so now I have two more questions:
>
> Right now I'm telling it to produce the Tween all at once, what if I wanted
> to have 5 Tweens occur after x milliseconds amount of delay between each? of
> say to start the next consecutive Tween when the current is 50% completed?
> Can I assign rotation values within Tweener. For example the starting
> rotationY will be 90 and I want it to become 0. I'm wondering if Tweener
> will do this for me (Dave prays)?Thanks again!
>
>
> On Wed, Jun 11, 2008 at 10:24 AM, David Di Biase <david at mozzly.com> wrote:
> >
> > Hi everyone,
> >
> > Thanks for the awesome feedback and the tutorial. I have two things
> however.
> >
> > If I don't try to init CurveModifiers I get this:
> >
> > ReferenceError: Error #1069: Property _bezier not found on
> org.papervision3d.objects
> > .primitives.Cube and there is no default value.
> > at caurina.transitions::Tweener$/addTween()
> > at MethodInfo-865()
> > at
> flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
> > at flash.events::EventDispatcher/dispatchEvent()
> > at
> org.papervision3d.core.utils::InteractiveSceneManager/org.papervision3d.core.utils:InteractiveSceneManager::dispatchObjectEvent()
> > at
> org.papervision3d.core.utils::InteractiveSceneManager/org.papervision3d.core.utils:InteractiveSceneManager::handleMousePress()
> >
> > And if I do init CurveModifiers.init() I get: 1120: Access of undefined
> property CurveModifiers.
> >
> > Here is my Tweener statement:
> >
> > Tweener.addTween(poster,
> > {x: currPos, y: (poster.y + 180), z: 0,
> > _bezier: {x: 72, y: 300, z: 0},
> > time: 1,
> > transition: "easeoutquad"});
> >
> > Strange, huh? Oh and I have the latest Tweener source
> (as3/caurina/transitions is the root source I'm calling).
> >
> > Thanks!
> >
> > Dave
> >
> >
> >
> >
> >
> > On Wed, Jun 11, 2008 at 9:48 AM, David Di Biase <dave.dibiase at gmail.com>
> wrote:
> >
> > > Hi everyone,
> > >
> > > Thanks for the awesome feedback and the tutorial. I have two things
> however.
> > >
> > > If I don't try to init CurveModifiers I get this:
> > >
> > > ReferenceError: Error #1069: Property _bezier not found on
> org.papervision3d.objects.primitives.Cube and there is no
> default value.
> > > at caurina.transitions::Tweener$/addTween()
> > > at MethodInfo-865()
> > > at
> flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
> > > at flash.events::EventDispatcher/dispatchEvent()
> > > at
> org.papervision3d.core.utils::InteractiveSceneManager/org.papervision3d.core.utils:InteractiveSceneManager::dispatchObjectEvent()
> > > at
> org.papervision3d.core.utils::InteractiveSceneManager/org.papervision3d.core.utils:InteractiveSceneManager::handleMousePress()
> > >
> > > And if I do init CurveModifiers.init() I get: 1120: Access of undefined
> property CurveModifiers.
> > >
> > > Here is my Tweener statement:
> > >
> > > Tweener.addTween(poster,
> > > {x: currPos, y: (poster.y + 180), z: 0,
> > > _bezier: {x: 72, y: 300, z: 0},
> > > time: 1,
> > > transition: "easeoutquad"});
> > >
> > > Strange, huh? Oh and I have the latest Tweener source
> (as3/caurina/transitions is the root source I'm calling).
> > >
> > > Thanks!
> > >
> > > Dave
> > >
> > >
> > >
> > >
> > >
> > > On Wed, Jun 11, 2008 at 9:20 AM, 13Flo <incognito_007_ at hotmail.com>
> wrote:
> > >
> > > >
> > > > Hi,
> > > >
> > > > Get lastest Tweener sources on
> http://tweener.googlecode.com/svn/trunk.
> > > > In your code, init the CurveModifiers by doing CurveModifiers.init();
> > > > After you can use _bezier property in all your tweens.
> > > >
> > > > For example :
> > > >
> > > > obj.y = 0;
> > > > Tweener.addTween( obj, { y:0,_bezier:{y:1000}, time:2,
> > > > transition:"easeInOutQuart" } );
> > > >
> > > > Did you know?
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > David Di Biase-3 wrote:
> > > > >
> > > > > Hello,
> > > > >
> > > > > I'm been playing around with PV3D and Tweener but I'm starting to
> get
> > > > > frustrated a bit. I'm wanting to do more advanced movements with
> Tweener
> > > > > and
> > > > > PV3D but I'm not quite sure how to go about producing the motion I
> want!
> > > > >
> > > > > I'd like to create the motion as seen on the Whitevoid site:
> > > > > http://www.whitevoid.com/Application when you click
> the box, more boxes
> > > > > fly
> > > > > out. Obviously I don't want to have to animate this manually. I've
> created
> > > > > a
> > > > > simple plane then 5-7 other planes on click then used Tweener with
> three
> > > > > different transition movements, each to different angles to simulate
> the
> > > > > motion path.
> > > > >
> > > > > I'm wondering if it supports a tween "path" or something to make the
> > > > > motion
> > > > > more fluid. I can't seem to find any good tutorials to explain this
> as
> > > > > well
> > > > > :-/
> > > > >
> > > > > A push in the correct direction would be great!
> > > > >
> > > > > Thanks!
> > > > >
> > > > > Dave
> > > > >
> > > >
> > > > > _______________________________________________
> > > > > Papervision3D mailing list
> > > > > Papervision3D at osflash.org
> > > > >
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > > > >
> > > > >
> > > >
> > > > --
> > > > View this message in context:
> http://www.nabble.com/Advanced-motion-with-Tweener-tp17769596p17777415.html
> > > > Sent from the Papervision3D mailing list archive at Nabble.com.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Papervision3D mailing list
> > > > Papervision3D at osflash.org
> > > >
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
> > > >
> > >
> > >
> > >
> > > --
> > > David Di Biase
> >
> >
> >
> > --
> > David Di Biase
>
>
>
> --
> David Di Biase
> _______________________________________________
> Papervision3D mailing list
> Papervision3D at osflash.org
> http://osflash.org/mailman/listinfo/papervision3d_osflash.org
>
>
More information about the Papervision3D
mailing list