Physics Service doesn't work with R15

The title is quite simplified. If you attempt to use the Physics Service to allow player collisions, it does not affect users using the R15 packages. I mean by that is that R15 packages cannot collide with R15, or R15 cannot collide with R6 packages. I’m not quite sure if this is a bug, or an intended feature to prevent packages creating visual bugs. I’ve just been curious as I would assume a lot of places or games use this feature and noticed this as well.

Here is the code I used to test this:

local PhysicsService = game:GetService("PhysicsService")
local PlayerService = game:GetService("Players")

PhysicsService:CreateCollisionGroup("Collision")
PhysicsService:CollisionGroupSetCollidable("Collision", "Collision", false)

function PlayerAdded(Player)
	Player.CharacterAdded:Connect(function(Character)
		for _, Object in pairs(Character:GetDescendants()) do
			if Object:IsA("BasePart") then
				PhysicsService:SetPartCollisionGroup(Object, "Collision")
			end
		end
	end)
end

PlayerService.PlayerAdded:Connect(PlayerAdded)

If there is just a goof I made on my end, just let me know. I couldn’t get this to work with R15 and R6 collisions, even on a game with 10+ players with various packages.

You can view the previews from my end here: Imgur

3 Likes

This topic was automatically closed after 1 minute. New replies are no longer allowed.