generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Is this possible?

Previous Thread :: Next Thread 
TrueMasterBuilder is not online. TrueMasterBuilder
Joined: 19 Dec 2011
Total Posts: 9
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 is not online. 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
TrueMasterBuilder is not online. TrueMasterBuilder
Joined: 19 Dec 2011
Total Posts: 9
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 is not online. caca50
Joined: 10 Jul 2011
Total Posts: 2037
02 May 2017 07:37 PM
Care on sharing this exploit?


( ͡° ͜ʖ ͡°)
Report Abuse
TrueMasterBuilder is not online. TrueMasterBuilder
Joined: 19 Dec 2011
Total Posts: 9
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
TrueMasterBuilder is not online. TrueMasterBuilder
Joined: 19 Dec 2011
Total Posts: 9
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 is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
02 May 2017 08:22 PM
###############################################################
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
02 May 2017 08:23 PM
PhysicsService on the wiki.


Report Abuse
shotaaesthetic is not online. shotaaesthetic
Joined: 11 Oct 2014
Total Posts: 881
02 May 2017 09:38 PM
wiki.roblox.com/index.php?title=API:Class/PhysicsService

What the chim said.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image