How do I transition from not-anchored to anchored then back to not-anchored smoothly?

So I want to make a tool that would stops the player mid air for a short moment but when I do that by anchoring the character and then unanchor it it teleports for a bit due to latency. How would I go about fixing that?

You could use a body position. That would force the character to the position told.

Then just slowly turn down the force.

2 Likes

I’m sorry, I’m very new to the AlignPosition thing. How would I go about making the alignment attachment for the player’s character? Cause it needs 2 attachments and I can’t just have attachment in a folder or workspace

(I know you said bodyposition but it’s deprecated)

1 Like

set the mode to one attachment:


then, put the attachment 0 as the root attachment.
finally, put position to your end goal.

if needed change max force. max velocity and responsiveness for your desired effect.

also, sorry for late reply, I was busy at the moment

1 Like

It works well but if let’s say if a player jump and pressing wasd it looks like they get teleported back a few studs due to latency, is there a way to fix that? I do not know how to calculate for latency compensation

Also i have another script that would freezes everything in the game including players by anchoring them, I don’t think the alignposition way is very optimal for that task. If you have any ideas feel free to add to this reply :slight_smile:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.