physics script api update, add new raycast.