Search Unity

Help with creating a physics projectile with a ball and player controller

Discussion in 'Physics' started by REEFY, Jun 25, 2016.

  1. REEFY

    REEFY

    Joined:
    May 9, 2013
    Posts:
    13
    Hello I was wondering is there an asset on the store or how would I go about creating a sphere come in contact with the character controller, then with a mouse click you are able to force the object in that direction in front of you. Depending on how long you hold the mouse the balls trajectory will either go high or low. It then will turn into a rigid body and then back to coming in contact with the player when you retrieve the ball. - an example of this would be a player controller and a soccer ball. Where you can continue to run and kick the ball then retrieve it and kick it again etc.
    Or even a basketball

    Regards