Search Unity

How to make a ball jump with phisics?

Discussion in 'Scripting' started by Asafl14, Jul 2, 2015.

  1. Asafl14

    Asafl14

    Joined:
    Jun 30, 2015
    Posts:
    7
    Hi everyone,

    Im new to scripting - c#,
    I would like to know how can I make a ball jump from a rotate paddle to another one, by physics?
    What methods/componenets classes... should I look for, to get my solution?
    Righ now the ball just slides over tha paddle and fall.
    There is a reference image to explain.

    Thanks.

    https://www.sendspace.com/file/e4uuzr
     
  2. Duugu

    Duugu

    Joined:
    May 23, 2015
    Posts:
    241
  3. Asafl14

    Asafl14

    Joined:
    Jun 30, 2015
    Posts:
    7
    Thanks for the answer,
    I tried different parameters of the physics materia and its steel doesnt work foe me,
    I am trying to make the ball jump after rolling the paddle - the ball supose to bounce of by the tilt of the paddle and not by hiting the paddle.
    here is a link to an imge to clear my poiny; https://www.sendspace.com/file/jxyfwa
     
  4. SirBoboHobo

    SirBoboHobo

    Joined:
    Feb 26, 2015
    Posts:
    41
    If changing physics material doesn't do the job for you then can directly change the velocity through code.
     
  5. Asafl14

    Asafl14

    Joined:
    Jun 30, 2015
    Posts:
    7
    Can you please write me guidelines ? I am new to scripting, It will help me a lot if Ill have start point to look for my answers.
    Thanks a lot anyway.
    by the way, I have a lot of knolage with 3ds max, I can offer my help with modeling, texturing and maybe animation.
     
  6. Deleted User

    Deleted User

    Guest

    Last edited by a moderator: Jul 5, 2015
  7. Asafl14

    Asafl14

    Joined:
    Jun 30, 2015
    Posts:
    7
    Thanks a lot, I realy appreciate your help.