Help with making a ragdolled npc move upwards before going out of ragdoll

i have npcs that can get ragdolled but i have a lot of issues with flinging so i figured i could move them upwards before they stop being ragdolled but they never move straight up and are moving sideways, ive tried moving them in the following ways:

character:MoveTo(character.Torso.Position + Vector3.new(0, 1, 0))
character:PivotTo(character.Torso.CFrame + Vector3.new(0, 1, 0))
character:PivotTo(character.Torso.CFrame * CFrame.new(0, 1, 0))
3 Likes

I don’t know if this is the expected result, but you can try giving the character an impluse using the BasePart.Velocity property.

Please note that this is a deprecated property. It will therefore be necessary to find out what it has been replaced by.

1 Like

a friend of mine came up with a pretty good solution

character:PivotTo(CFrame.lookAt(character:GetPivot().Position, character:GetPivot().Position + Vector3.xAxis))

it doesn’t look great but it at least gets the job done

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