Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Teleport trace is skewed #108
The trace used for ulx teleport isn't consistent with the eye angle, as the endpos isn't shifted, while the startpos is. This leads to a slight, but annoying offset in expected teleport target.
I think it would make sense to make the offset half the player height (or whatever fraction is required for traceEntity to work properly), and apply it to both startpos and endpos, instead of hardcoding it to 32 on starpos and 0 on endpos. This would also allow it working correctly with rescaled players.