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 » Scripting Helpers
Home Search
 

One part moving through other parts?

Previous Thread :: Next Thread 
SuperSonic4278 is not online. SuperSonic4278
Joined: 10 Dec 2009
Total Posts: 46
21 Nov 2012 05:21 PM
I'm trying to make a non-solid part move through other parts when it is moving but it doesn't work even if I make both of them non-solid.

Heres the code:

while true do
wait(.1)
brick = script.Parent
brick.Position = Vector3.new(brick.Position.x+0,brick.Position.y+0,brick.Position.z+2)
end

The script is placed in a Head and then is paired with a Humanoid into a model.
Report Abuse
Solotaire is not online. Solotaire
Joined: 30 Jul 2009
Total Posts: 30356
21 Nov 2012 05:22 PM
You'll need to edit the CFrame value instead.
Report Abuse
ukwarrior6 is not online. ukwarrior6
Joined: 06 Sep 2009
Total Posts: 485
21 Nov 2012 05:26 PM
Say CanCollide and UnCanCollide, not solid / unsolid

also, if you want to move any anchored parts through other parts you'll have to use CFrame


while true do
wait(.1)
brick = script.Parent
brick.CFrame = brick.CFrame + Vector3.new(0, 0, 2) -- wiki told me to!
end
Report Abuse
SuperSonic4278 is not online. SuperSonic4278
Joined: 10 Dec 2009
Total Posts: 46
21 Nov 2012 05:33 PM
Thanks so much guys.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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