How do I turn collision off for terrain?

The title is pretty self-explanatory… basically I just want to turn collision off of terrain to boost performance, is this possible? If so, how would I do it?

1 Like

This is possible:

I have never really messed with Collision Groups, but I tried it and it didn’t work. What’s going wrong here?

local PhysicsService = game:GetService("PhysicsService")

local Terrain = "Terrain"
local Plr = "Players"

PhysicsService:CreateCollisionGroup(Terrain)
PhysicsService:CreateCollisionGroup(Plr)

PhysicsService:SetPartCollisionGroup(workspace.Terrain, Terrain)
PhysicsService:SetPartCollisionGroup(game.Players.LocalPlayer, Plr)

PhysicsService:CollisionGroupSetCollidable(Plr, Terrain, false)

The PhysicsService doesn’t work from local side. It literally says in the output.

And the first argument for PhysicsService:SetPartCollisionGroup() must be a BasePart. Not a Model or a “Player” object.

If that’s the case, then how would I turn it off for all players?