Haerix
(Sveiren)
August 15, 2023, 7:23am
#1
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
ZayerRBX
(Stickman)
August 15, 2023, 10:54am
#2
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
Haerix
(Sveiren)
August 15, 2023, 5:03pm
#3
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
system
(system)
Closed
August 29, 2023, 5:04pm
#4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.