Made hook movement based on rigidbody velocity, to prevent  it from going through platforms.