Search Unity

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

Discussion in 'Scripting' started by matias-e, Aug 26, 2015.

  1. matias-e

    matias-e

    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.