Search Unity

Moving sprite character with rigid body.

Discussion in '2D' started by TheMitic93, Nov 15, 2013.

  1. TheMitic93

    TheMitic93

    Joined:
    Jan 11, 2013
    Posts:
    10
    What is the best way to move character sprite with rigid body. I know how to move it with transform.Translate , but I heard its bad for physics and I can get unexpected behaviour.
     
  2. TomasJ

    TomasJ

    Joined:
    Sep 26, 2010
    Posts:
    256
    Try adding forces with addForce or setting its velocity directly.