Shouldn't we just use `endPos`, `endDir`, and `endUp` directly here, no need to re-get the properties.