def thor_teleport(controller, position, rotation, horizon):
    """Calls the Teleport function with relevant parameters."""
    controller.step(action="Teleport",
                           position=position,
                           rotation=rotation,
                           horizon=horizon,
                           standing=True)  # we don't deal with this
    return controller.step(action="Pass")