added Z lock script (might be necessary for kinematic rigidbodies or gameobjects without rigidbodies