How to make an object still when it comes into contact with the ground?

Hi, I am new to unity. I’m having trouble programming the app, I don’t know how to make the object / box rest when it hits the ground. Can you help me? Please

  • Setting a rigidbody’s velocity to
    Vector3.zero (or Vector2.zero, if 2D)
    stops all current motion.
  • If the object is regaining velocity due to phyics (e.g. it’s on
    a slope) then increasing the friction
    of the object’s material might help.

hello, try to use charactercontroller / rigidbody for player, and rigidbody for the rest object.