|
| 02 May 2017 07:20 PM |
| Can you tell an part not to collide with certain parts? I have some objects that you hit with a car, but when I hit the object, they slow down the car. I still want them to roll around on the floor, but can they only not collide with the car? Currently, CanCollide will tell the object not to collide with the whole world. I just need it not to collide with certain objects. Thanks! |
|
|
| Report Abuse |
|
|
caca50
|
  |
| Joined: 10 Jul 2011 |
| Total Posts: 2037 |
|
|
| 02 May 2017 07:23 PM |
It is possible, I've seen it in some elevator game on here (dealing with players colliding with other players but nothing else)
However, I have no idea how to do that.
|
|
|
| Report Abuse |
|
|
|
| 02 May 2017 07:36 PM |
| I've figured out how they did this effect. It's using an exploit, but it only works on players. It won't work on other parts. I'm still searching for a solution. |
|
|
| Report Abuse |
|
|
caca50
|
  |
| Joined: 10 Jul 2011 |
| Total Posts: 2037 |
|
|
| 02 May 2017 07:37 PM |
Care on sharing this exploit?
( ͡° ͜ʖ ͡°) |
|
|
| Report Abuse |
|
|
|
| 02 May 2017 07:44 PM |
"I know I am reviving an old thread, but I found a really simple solution to this:
character:WaitForChild("Humanoid") for i, characterPart in ipairs(character:children()) do if characterPart:IsA("BasePart") then characterPart.Name = "Fake" .. characterPart.Name end end for i, characterPart in ipairs(character:children()) do if characterPart:IsA("BasePart") then characterPart.Name = string.gsub(characterPart.Name, "Fake", "") characterPart.CanCollide = false end end
This changes the names of the parts, so that they are no longer recognized by the humanoid, then it changes the names back and turns CanCollide off at the same time. This bypasses the thing that prevents you from turning off collisions normally in a humanoid.
Just note that this is kind of an exploit, so it may not work forever. It is working as of March 2017, and it has been working for a while before." From https://forum.roblox.com/Forum/ShowPost.aspx?PostID=121080975 |
|
|
| Report Abuse |
|
|
|
| 02 May 2017 07:56 PM |
| Solved the problem: I didn't solve the question, but I solved my problem. I set the values of SetCustomProperties to 0. This caused the object to be pushed easily. If the object is very big, it will still cause a bump when you hit it, so I'll just make all the objects shatter on impact. :D |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 02 May 2017 08:22 PM |
| ############################################################### |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 02 May 2017 08:23 PM |
PhysicsService on the wiki.
|
|
|
| Report Abuse |
|
|
|
| 02 May 2017 09:38 PM |
wiki.roblox.com/index.php?title=API:Class/PhysicsService
What the chim said. |
|
|
| Report Abuse |
|
|