I’ve tried everything I could to make this work but it simply wont work.
I’ve tried the collision group editor,
Scripting,
and restarting studio just in case.
But every time, the ball phases through the wall.
Script: (server script service, server script)
local PhysicsService = game:GetService("PhysicsService")
PhysicsService:RegisterCollisionGroup("walls2")
PhysicsService:RegisterCollisionGroup("balls2")
PhysicsService:CollisionGroupSetCollidable("walls2", "balls2", true)
copied & pasted from the documentation but even that wont work
Additional information: it works when i change it to false but not true.
I have tried switching the groups places in the script.
I have tried adding wait()s
The wall is cancollide false and the ball is cancollide true
I need to use collision groups because I want the player to pass through the walls but not the ball.
ive found another post about this and it turns out
roblox is bugged and setting collision groups to true doesnt work!
so now i have to make it just not collide with player which makes it generally harder. yay. thank you roblox.