I have begun using AlignPosition for my game, which involves players using flight as a means to move around. I have set both MaxForce to math.huge to compensate for mass differences between characters (In this game, there is also a height system). I am setting the position for the AlignPosition to the position of the character’s HumanoidRootPart which in theory should result in the character remaining stationary and hovering in the air.
Here is the code:
game:GetService("RunService").Heartbeat:Connect(function()
AlignPosition.Position = HRP.Position
end)
But instead, much like how BodyPosition does the same thing, the character slowly creeps upward in the air. The only way I’ve found to resolve this is:
AlignPosition.Position = HumanoidRootPart.Position - Vector3.new(0, .25, 0)
Video of character hovering:
Video
My goal is to create a consistent system to continually keep the character held in the same position within a heartbeat connection.
