I mean that you can set up a TweenLite, which makes the ball fall down and
another one to bounce it back, add these TweenLites to a TimelineLite, which
you can then loop. If you don't know the greensock libraries, you should
check them out: http://www.greensock.com/v11/
 <http://www.greensock.com/v11/>Then again, if you want maths, you'd need to
take another way. The bouncing ball's position can be calculated with a
square function (x on the power of y) and the inverse of it.

Z.

On Thu, Apr 7, 2011 at 3:50 PM, Valts Darznieks <vdarzni...@gmail.com>wrote:

> Hello,
> Sorry but i dont understand how tween timelines can help me here?
> i wont be using tweens to move the ball, i`m more interested in math
> and alg behind it all.
> I would even like it to consider rotation of the ball itself.
> Thank you .
>
> On Apr 7, 4:36 pm, Páll Zoltán <pallzol...@gmail.com> wrote:
> > Hello,
> >
> > If you don't need physics, you could use TimelineLite from greensock.com
> .
> >
> > Z.
> >
> > On Thu, Apr 7, 2011 at 3:21 PM, Valts Darznieks <vdarzni...@gmail.com
> >wrote:
> >
> >
> >
> >
> >
> >
> >
> > > Hello could anyone please point me to some tutorial or example of
> > > bouncing ball in Away3D
> > > I have seen ones that uses physics engines, but i don`t need physics,
> > > i need simple bouncing ball (no acceleration(gravity) ) , (picture
> > > ball trapped in cube bouncing all the time)
> > > I know how to do it in 2d, but its bit hard for me to grasp 3d. Any
> > > help appreciated.
> > > Thank you !
>

Reply via email to