Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

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.