#Smooth player movement

1 messages · Page 1 of 1 (latest)

weary forum
#

So I've been trying to move the player around and every solution I've come across doesn't quite work for what I want (for context I'm moving the player while they have 0 gravity so only 2 dimensions).

  • Teleport an entity to the player to push them around: Too slow
  • Teleport the player: Too jittery
  • Explosions: requires removing and re-adding explosions + texturepack which I don't want to do
  • Ride an entity and teleport the entity: Player is in the riding postion (want them standing)

Wanted to check if there's anything I havn't thought of or if I'll need to compromise on one of the above options. Maybe a way to increase how much a mob pushes the player?

hexed mangoBOT
#

<@&1201956957406109788>

Someone will come and help soon!

💬 While you wait, take this time to provide more context and details.

🙇 If nobody has answered you by <t:1727613397:t>, feel free to use the Summon Helpers button to ping our helper team.

✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve

#
⚠️ You already have a question open!

Don't forget to close or resolve your old questions once you're done with them. It makes our lives much easier! :D

Open question: #1289902989946916885

honest willow
#

just use delta

#

its an explosion based library for datapacks that allow to give any motion to players, and it does not require a resourcepack so its a perfect solution for ya?

weary forum
#

Ah I thought it used a resource pack to get rid of the explosion particle effect.

Yeah it's not bad I guess I'd just rather keep the pack light weight and all my own stuff, nice not to have other things that might affect stuff you don't realize it affects. I haven't actually looked into how delta's code works but I imagine it would be fairly complicated for me to figure out.

tacit bloom
tacit bloom
weary forum
#

Yeah I knew about these libraries but once again I want to find an option that doesn't depend on something else, that I can do myself

honest willow
honest willow
tacit bloom
honest willow
tacit bloom
weary forum
#

Ok I ended up looking at player motion and copying their method into my pack, for what I needed it to do I could achieve with just 6 lines so saved a ton of bulk

hexed mangoBOT
honest willow
#

6 lines is crazy though