#Collision Groups not registering

1 messages · Page 1 of 1 (latest)

hybrid dagger
#

Title speaks for itself, here is the code that i use to check


                        print(PhysicsService:CollisionGroupsAreCollidable("Customers", "Customers"))
                        print(PhysicsService:IsCollisionGroupRegistered("Customers"))
                        task.wait(2)
                        print(PhysicsService:IsCollisionGroupRegistered("Customers"))```
, i'm trying to get the Customer collision group to not collide with each other, only after i can get to register it. Help!
vapid pike
#

In hindsight, it should just be either the collision groups setup is wrong, or the enabling is wrong.

midnight birch
#

Just use the collision groups tab

#

Search it up how to get it

tawdry field
#

i ll say same use collission group tabs itself,or u may set it wrong

soft ember
#
local PhysicsService = game:GetService("PhysicsService")
local CUSTOMER_GROUP = "Customers"

if not PhysicsService:IsCollisionGroupRegistered(CUSTOMER_GROUP) then
    PhysicsService:RegisterCollisionGroup(CUSTOMER_GROUP)
end

PhysicsService:CollisionGroupSetCollidable(CUSTOMER_GROUP, CUSTOMER_GROUP, false)