Freeze player midair without anchoring?

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    How do i freeze player midair without anchoring
  2. What is the issue? Include screenshots / videos if possible!
    I want to freeze player midair, but i can figure out how to do it
  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    ive tryed align position and align oriantation
    After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
x = Instance.new('AlignPosition',player.Character.HumanoidRootPart)
			x.ApplyAtCenterOfMass = true
			x.ReactionForceEnabled = true
			x.RigidityEnabled = false
			x.MaxForce = 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368
			x.MaxVelocity = 179769313486231570814527423731704356798070567525844996598917476803157260780028538760589558632766878171540458953514382464234321326889464182768467546703537516986049910576551282076245490090389328944075868508455133942304583236903222948165808559332123348274797826204144723168738177180919299881250404026184124858368
			x.Responsiveness = 200

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

Any video examples of wanted script?

I want it to freeze player where standing, so if in midair, the player will freeze and stay in midair, like anchoring, but i dont want to use anchor

like the gravity just levels out perfectly so they don’t fall or rise?

Yes, i want the player to just freeze like anchoring, but i still want the player to just freeze, without using anchor because anchor is glitchy

just anchor the humanoidrootpart because all the body parts are welded to it

i dont want to use anchor because when i am moving and i anchor, it anchors me a few studs behind where i was

I am not 100% sure what you are trying to achieve, but there are two ways I can see you doing this.

The first way is creating a script that constantly locks the characters position where you want to character frozen. The downsides of this are that you would have to disable to locking script in order to let your character move and it could cause some unstable visual effects depending on how you pull this off.

The second way is applying a vector force on the that counteracts all movement.

If you just want to make the character float like a zero gravity effect you can provide a vector force on the y-axis that perfectly counteracts gravity. This method will still allow the character to be moved but not by gravity.

As for the anchoring causing you to go a few studs behind where you were, this could be caused by latency between the server and the client, but I would need more context to say.

2 Likes