Search Unity

dinamic friction of physics material moves the object to the left side problem

Discussion in 'Physics' started by halevi, Jun 28, 2022.

  1. halevi

    halevi

    Joined:
    Dec 13, 2020
    Posts:
    35
    im bulding simple 3d pool game , im using addforce.impulse to add the force to the cueball in the direction of the cue forward direction(except y axis, y axis direction is set to ziro)im using physics material with the cueball in the cueball collider for bouncines and also a little dinamic friction , the problem is for some reason when im appliyng dinamic friction to the cueball even a little than when i add the force to the cueball the cueball deviates to the left(always to the left)a little bit from his original direction(cue forward) why this happend and how can i solve this? the surface table is simple one box colider without sharp angles or any slop and this happend only if i applying friction , thank in advance