Categories
Ask Games Video & Online Games

Quickly moving player horizontally

I’m trying to move the player through a tube with high speed. This works well vertically using levitation level 127 for going up, and just falling for going down. However, moving horizontally seems to be troublesome. I tried the tp command with relative coordinates:

execute as @p[distance=..10] at @s run tp @s ~1 ~ ~

In a repeating command block, this moves the player at 20 blocks per second. However, the movement is not smooth at all, one feels the teleportation effect constantly because there is no interpolation.
Is there a way to avoid this and have the player move smoothly horizontally?

Leave a Reply

Your email address will not be published. Required fields are marked *