check for null rigidbody to prevent locking things to worldspace