Is there a way to disallow certain objects to affect physics on another part, but allow the certain object to collide with the other part? Because I made a dash script with BodyVelocity and I don't want my character to bounce and fly around when they collide into a part, but I want it to be consistent when they collide.
Solved: Enable TemporaryLegacyPhysicsSolverOverride in Workspace
THREE SOLUTIONS without even needed to mess with the physics
If you don't want anything to collide with your player then simply select the parts and in the properties change cancolide to false or
you can use this script
Parts = game.Workspace:GetChildren("You can put names in here like ModelName1 or Part5") Parts.CanColide = false --Part 2-- CharParts = game.Players.LocalPlayer.Character:GetChildren() CharParts.CanColide = false
I may have misspelled something but so far the script looks good to go! This should be simple but if you dont want the player to mess with the objects and other players to mess with the parts/object then try, in a local script, Type everything under part2. these could work but if it goes more in depth like you want a specific thing then just tell me what.
[BEST SOLUTION TO YOUR PROBLEM] if your trying not bounce you could just make gravity stronger when you hit the ground so its not a giant bounce.
complete edit:
ok judging by ur situation theres one thing one can do; slow down when one is about to hit a wall. Let me illustrate;
local distance = 5 local root = script.Parent:FindFirstChild("HumanoidRootPart") or script.Parent:WaitForChild("HumanoidRootPart") for i, part in pairs(workspace:GetChildren()) do if (root.Position - part.Position).magnitude < distance then reducevelocity() -- or whatever is ur function end end