Search Unity

Change Velocity by object rotation

Discussion in 'Physics' started by kuhn0305, Mar 14, 2019.

  1. kuhn0305

    kuhn0305

    Joined:
    Mar 14, 2019
    Posts:
    1
    Hello Engineers! I'm trying to make a VR ping-pong game.
    I faced an issue during the production process, which is about the collision of a ball and a table tennis.

    What I intend to implement is as follows:
    If a powerful backspin was hung on the ping-pong ball, the speed of the ball would be reduced when it collided with the table. Conversely, if the ping pong ball has a forward spin, it will move forward faster when it collides with the ping-pong table.

    But the game I've implemented, regardless of spin, only works according to the physics material applied to the ping pong ball and ping pong table. Moreover, it did not decelerate due to backspin, nor was it accelerated by forward spin.

    Should AddTorque, or AddForce, be used in a collision to resolve this issue? Or is there another solution?

    Any ideas?
     
    Last edited: Mar 14, 2019