Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

How to get multiply the power of AddForce depending on the speed+length of a collision?

Discussion in 'Scripting' started by Kinkku2, Aug 26, 2015.

  1. Kinkku2

    Kinkku2

    Joined:
    Sep 29, 2014
    Posts:
    106
    Heya! I'm making a tennis game and I would like to change the amount and direction of AddForce function depending on what the racket has done before the collision. How would I go about implementing this? Thanks.
     
unityunity