What does is kinematic mean code example
Example: is kinematic
using UnityEngine;
using System.Collections;public class ExampleClass : MonoBehaviour
{
public Rigidbody rb; void Start()
{
rb = GetComponent<Rigidbody>();
} // Let the rigidbody take control and detect collisions.
void EnableRagdoll()
{
rb.isKinematic = false;
rb.detectCollisions = true;
} // Let animation control the rigidbody and ignore collisions.
void DisableRagdoll()
{
rb.isKinematic = true;
rb.detectCollisions = false;
}
}