I want the dash to have the same velocity as if the character were in the air. I’m using vectorforce on the humanoidrootpart currently.
1 Like
You can adjust the friction by changing the CustomPhysicalProperties
of the parts. It would also help to see some code because maybe it’s not the friction that is the issue.
this is all the relevant code
also fairly certain it’s a friction issue
i’ll try editing the customphysicalproperties
--in this case, uptime = 0.5, velocity = Humanoid.MoveDirection * 750
local att0 = Instance.new("Attachment")
att0.Parent = part
local vel = Instance.new("VectorForce")
vel.Force = velocity * part.AssemblyMass
vel.RelativeTo = Enum.ActuatorRelativeTo.World
vel.Attachment0 = att0
vel.Parent = part
local info = TweenInfo.new(uptime, Enum.EasingStyle.Quart, Enum.EasingDirection.Out, 0, false,0)
local goal = {Force = Vector3.new(0,0,0)}
local tween = TweenService:Create(vel, info, goal)
tween:Play()
tween.Completed:Connect(function()
container:Destroy()
vel:Destroy()
end)
Debris:AddItem(vel, uptime)
Debris:AddItem(att0, uptime)
there wasn’t any difference when I set the Friction to 0 on the parts of the character
just switched to alignposition
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.