How human fall flat hands works?(SOLVED)

i tried make a script that when something collide with hand collider it will joint it

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class HandConrtoller : MonoBehaviour {
    public FixedJoint joint;
    // Use this for initialization
    void Start () {
}
void Update () {
}
void OnCollisionEnter (Collision collision )
{
  if(collision.gameObject.GetComponent<Rigidbody>())
  {
  
   joint.connectedBody = collision.gameObject.GetComponent<Rigidbody>();
  }
}
}

and it doesnt give me error but it also didnt work

Solved unchecked is trigger

Thank u for help =))