Smooth gravity collision

So I’ve been trying to get a smooth gravity collision between 2 objects with C# without using the Gravity from the rigidbody.

But right now the 2 objects slightly clip through each other causing it to look like the object is bouncing.

The code I’m using is

	void Update () {		
		velocity += gravity * Time.deltaTime;
		transform.position += velocity * Time.smoothDeltaTime;
	}

Does anyone have any tips on how to create a smooth collision between the two?

Fixed it by using

Vector3 gravity = new Vector3(0,9.8f,0f);
	void Update () {		
		rigidbody.AddForce(gravity, ForceMode.Acceleration);
		rigidbody.useGravity = false;
	}

instead.