local V=game:GetService("\080\104\121\115\105\099\115\083\101\114\118\105\099\101")local L=game:GetService("\083\101\114\118\101\114\083\116\111\114\097\103\101")local B=require(L.Source.Constants.ServerConstants)local U=B.PHYSICS_GROUP_WHEEL local A=B.PHYSICS_GROUP_HITBOX return function()V:CreateCollisionGroup(A)V:CreateCollisionGroup(U)V:CollisionGroupSetCollidable(A,U,false)end
--[[
    Creates the PhysicsService collision groups used in the game and defines their
    relationship
]]
local PhysicsService = game:GetService("PhysicsService")
local ServerStorage = game:GetService("ServerStorage")

local ServerConstants = require(ServerStorage.Source.Constants.ServerConstants)

local WHEEL_GROUP = ServerConstants.PHYSICS_GROUP_WHEEL
local HITBOX_GROUP = ServerConstants.PHYSICS_GROUP_HITBOX

return function()
	PhysicsService:CreateCollisionGroup(HITBOX_GROUP)
	PhysicsService:CreateCollisionGroup(WHEEL_GROUP)
	PhysicsService:CollisionGroupSetCollidable(HITBOX_GROUP, WHEEL_GROUP, false)
end
