Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Failed to reparameterize" on non-eject exit #1

Open
ecurtiss opened this issue Oct 22, 2022 · 0 comments
Open

"Failed to reparameterize" on non-eject exit #1

ecurtiss opened this issue Oct 22, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@ecurtiss
Copy link
Contributor

When the player exits an astrotube without ejecting, we attempt to CFrame their character a few studs beyond the exit by calling spline:SolveUniformPosition(t) with a time beyond 1. CatRom does not currently support inputs outside of [0, 1], so a warning is thrown. This could be fixed by fixing CatRom or by CFraming the character differently. For example:

Character:PivotTo(CFrame.new(spline:SolvePosition(1) + spline:SolveTangent(1)*offset))
@ecurtiss ecurtiss added the bug Something isn't working label Oct 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant