I have been up for 12 hours straight trying to fix EgoMoose's gravity controller

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I want to make it so the gravity controller ignores all parts apart from ones in a folder

  2. What is the issue? Include screenshots / videos if possible!

    I add everything except the items in the folder to the ignore list, but when I play those parts are still effected.

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub? Yes, I have tried. 12 hours straight. No matter how long I have searched, No matter how longer I have tinkered NOTHING has worked. I have tried both r15 and r6

After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

Does anyone know how to fix this? I really need help. Thank you

2 Likes

You could try :IsDescendantOf() for this.

if not i:IsDescendantOf(workspace.Planets) then
  table.insert(self.Ignores, i)
end

I probably should have checked the devfourm better. I found someone with my exact issue and I fixed it.

1 Like

Oh, turns out the version I found was outdated and didnt work with spheres. Ill try this then

1 Like

I tried it and nothing happened. I could still walk on walls outside of the folder

Nevermind. I fixed it by typing the same thing in one of the local scripts

can I have the link to that one? (also for some reason gravity controller does not work with teleports)