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

[ISSUE] Rotating player is buggy #38

Open
koloja opened this issue Feb 23, 2024 · 0 comments
Open

[ISSUE] Rotating player is buggy #38

koloja opened this issue Feb 23, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@koloja
Copy link

koloja commented Feb 23, 2024

When I use the code

function base_recoil(p: player, amt: number):
    # set {_v} to vector between {_p} and location 1 meter behind {_p}
    # set y of {_v} to 0
    # set standard length of {_v} to 0.05
    # add {_v} to {_p}'s velocity
    rotate {_p} by 0 horizontally and {_amt} vertically
    

It comes out laggy / choppy and doesn't rotate properly.

@koloja koloja added the bug Something isn't working label Feb 23, 2024
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