#screen shake effect

1 messages · Page 1 of 1 (latest)

signal walrus
#

is it possible to teleport a player but with relative coordinates?
like the command /tp name ~ ~ ~
since this:

command /shake [<player>]:
    permission: op
    trigger:
        loop 5 times:
            set {_l} to location of player
            chance of 30%:
                add 0.1 to x-coord of {_l}
            chance of 30%:
                add 0.1 to z-coord of {_l}
            teleport player to {_l}
            wait 1 tick

freezes the player in the air when hes jumping for 5 ticks and it isnt smooth, would love to use relative coords

#

think the problem is also that his velocity is reset

night pewter
#

vectors will be the offset