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 » Game Design
Home Search
 

Re: How do I make large amounts of bricks move together

Previous Thread :: Next Thread 
ZreI is not online. ZreI
Joined: 14 Jul 2015
Total Posts: 5229
25 May 2016 08:52 PM
I know it seems like a silly question, and that I should know the answer but I've been working on a game semi like payday the vault door I need to open, but the parts that need to move wont move together since I cant figure out how to make them.
the parts that are selected are the ones that need to move
http://prnt.sc/b8i6ob
Report Abuse
WhiteXRockShooter is not online. WhiteXRockShooter
Joined: 16 Oct 2014
Total Posts: 107
25 May 2016 09:08 PM
Got EEEM
Report Abuse
ZreI is not online. ZreI
Joined: 14 Jul 2015
Total Posts: 5229
25 May 2016 09:09 PM
excuse me?
Report Abuse
fefi_fofum is not online. fefi_fofum
Joined: 04 May 2016
Total Posts: 503
25 May 2016 09:13 PM
move together?
Report Abuse
fefi_fofum is not online. fefi_fofum
Joined: 04 May 2016
Total Posts: 503
25 May 2016 09:15 PM
in the same direction you mean?
Report Abuse
ZreI is not online. ZreI
Joined: 14 Jul 2015
Total Posts: 5229
25 May 2016 09:20 PM
I want it to move just like a regular door wood. I want all the bricks to move as if they were all the same brick
Report Abuse
fefi_fofum is not online. fefi_fofum
Joined: 04 May 2016
Total Posts: 503
25 May 2016 09:21 PM
Do you mean up and down or like a draw bridge?
Report Abuse
Coconutko is not online. Coconutko
Joined: 05 Nov 2014
Total Posts: 6799
25 May 2016 09:21 PM
Use welds
Report Abuse
ZreI is not online. ZreI
Joined: 14 Jul 2015
Total Posts: 5229
25 May 2016 09:25 PM
Like the hinges on a door, it doesn't open up and down it opens to the side.
Report Abuse
XtraSnipey is not online. XtraSnipey
Joined: 26 Sep 2014
Total Posts: 55
25 May 2016 09:26 PM
accept and i'll come help?
Report Abuse
ZreI is not online. ZreI
Joined: 14 Jul 2015
Total Posts: 5229
25 May 2016 09:26 PM
@Coco
I've tried that, but whenever I use welds the bricks need to be places perfectly next to each other, in this case that wont work on most of the bricks
Report Abuse
ZreI is not online. ZreI
Joined: 14 Jul 2015
Total Posts: 5229
25 May 2016 09:29 PM
@Xstra
you want me to invite you to team create? or
Report Abuse
XtraSnipey is not online. XtraSnipey
Joined: 26 Sep 2014
Total Posts: 55
25 May 2016 09:29 PM
yeah
Report Abuse
Coconutko is not online. Coconutko
Joined: 05 Nov 2014
Total Posts: 6799
25 May 2016 09:40 PM
You could try using invisible and transparent bricks
Report Abuse
Badandy11 is not online. Badandy11
Joined: 02 Jul 2009
Total Posts: 1861
25 May 2016 09:50 PM
I have your solution because I had to do the same thing with some doors I made.

Make it one model and make the base of the door the primary part of that model.

I simply used the SetPrimaryPartCFrame method for models and I have some sample code below that I put into a for loop.


script.Parent.Parent:SetPrimaryPartCFrame(script.Parent.Parent.PrimaryPart.CFrame * CFrame.Angles(0,-0.05,0));
script.Parent.Parent:SetPrimaryPartCFrame(script.Parent.Parent.PrimaryPart.CFrame * CFrame.new(0.02,0,-0.12));
Report Abuse
ZreI is not online. ZreI
Joined: 14 Jul 2015
Total Posts: 5229
26 May 2016 09:19 AM
@badandy
I dont get what your saying
"make the bottom of the door the primary part"
Report Abuse
Badandy11 is not online. Badandy11
Joined: 02 Jul 2009
Total Posts: 1861
26 May 2016 09:22 AM
Sorry, I was half asleep last night but the primary part should be the base of the door, as in the biggest part that everything connects onto.
Report Abuse
Badandy11 is not online. Badandy11
Joined: 02 Jul 2009
Total Posts: 1861
26 May 2016 09:26 AM
PrimaryPart is a property of Model which you can set when you group everything and when you click on that property it will allow you to select the primaryPart.
Report Abuse
galio13 is not online. galio13
Joined: 20 Jul 2011
Total Posts: 842
26 May 2016 09:28 AM
I use the same method ^
Report Abuse
Badandy11 is not online. Badandy11
Joined: 02 Jul 2009
Total Posts: 1861
26 May 2016 09:32 AM
I know people who do each child separately, which I find a bit wrong when we have a method for models and the method I stated is the easiest and prettiest I found.
Report Abuse
ZreI is not online. ZreI
Joined: 14 Jul 2015
Total Posts: 5229
26 May 2016 09:49 AM
I set the cylinder as the primary part
http://prntscr.com/b8pamx
But now when I click play everything still falls off
http://prnt.sc/b8pamx
Report Abuse
cowsoncows is not online. cowsoncows
Joined: 11 Oct 2013
Total Posts: 2522
26 May 2016 09:53 AM
Anchor all the parts of the door. With the way that Badandy showed you, it doesn't matter if the parts are anchored, they will still move.
Report Abuse
ZreI is not online. ZreI
Joined: 14 Jul 2015
Total Posts: 5229
26 May 2016 09:56 AM
@crow
it all stays in place and nothing happens
Report Abuse
cowsoncows is not online. cowsoncows
Joined: 11 Oct 2013
Total Posts: 2522
26 May 2016 09:58 AM
*cow and did you properly insert the script?
Report Abuse
ZreI is not online. ZreI
Joined: 14 Jul 2015
Total Posts: 5229
26 May 2016 10:08 AM
Wait I have to have a script just to make multiple bricks move as 1 brick would?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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