Is it possible to make a ball move along a curve then bounce ?

I want my ball to animate over an arch then bounce along the bottom on screen. Any ideas how to do this ? and is there a way to make the ball bounce over a longer period and more than 4 bounces ?

cheers

Niki
1 person has
this question
+1
Reply
  • Dan (Official Rep) February 05, 2012 14:08
    So I guess you want an object that moves by behaviours then switches to a physics object and then bounces under the normal rules?

    A circle is made up of 4 arcs where the X and Y change by the same amount, i.e. up and left by 50pixles. Using different X and Y you can change the shape of the arc. This post http://getsatisfaction.com/demibooks/... covers the circle, you just need to pick the right quadrant and modify the X and Ys to give the shape you want.

    Since you know where it ends and how long it will take to get there you can put a physics object hidden there and suspend physics to hold it in place. then you hide the transformed one, show the physics one and restore the physics.

    To get it bounce more than 4 times will be up to the fall distance and the mass of the object if you make it lighter it should bounce more ( beware that the system lets you make it zero at the moment and this will cause it to disappear when you test ) 0.1 will bounce about 28 times.

    Does that help?
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited

  • Yes - it does . I don't have a great maths brain though, be great if this stuff didn't require a mathematics degree ;) . I think you guys were talking about a more interactive way of capturing movement. Is that still on the cards ?

    Might be good to have some templates that we could import and adjust ?
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. sad, anxious, confused, frustrated kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited