Ankoki / SkJade

A Skript Addon with miscellaneous syntax to make skripting easier.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[ISSUE] Rotating player is buggy

koloja opened this issue · comments

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.