opplo
|
  |
| Joined: 09 Dec 2008 |
| Total Posts: 5320 |
|
|
| 14 Jan 2014 04:52 AM |
Im trying to copy and paste this very wide object a railway track, it stretches for about 24,000 studs in length. However whenever I paste the model it ends up in around this location (-185470074880, -182040133632, -4765.7) so it's in the nil zone and doesn't paste to the location i'm wanting to paste it to. I cant get it out of the nil zone unless I use a script.
I've tried using moveTo: This works and moves it to the right location, however the CFrame is messed up and it's not in the right rotation.
I need some help with this. |
|
|
| Report Abuse |
|
|
| |
|
opplo
|
  |
| Joined: 09 Dec 2008 |
| Total Posts: 5320 |
|
|
| 14 Jan 2014 05:52 AM |
| Could you suggest a way I could CFrame it? |
|
|
| Report Abuse |
|
|
| |
|
opplo
|
  |
| Joined: 09 Dec 2008 |
| Total Posts: 5320 |
|
|
| 14 Jan 2014 06:16 AM |
| I just need it pasted or moved to the same position im copying it from. |
|
|
| Report Abuse |
|
|
opplo
|
  |
| Joined: 09 Dec 2008 |
| Total Posts: 5320 |
|
| |
|
|
| 14 Jan 2014 08:38 AM |
| if its locked u can Cframe it down as a model then have it cframe it up but use ( in pairs ) on the model and make them all get cframed so it says the same just gets moved |
|
|
| Report Abuse |
|
|
opplo
|
  |
| Joined: 09 Dec 2008 |
| Total Posts: 5320 |
|
| |
|
|
| 14 Jan 2014 02:18 PM |
I'm assuming the rotation of the GROUP of bricks is incorrect? If so, just use the rotation tool that comes with studio.
If the parts themselves are messed up, you'll have to re-CFrame the thing.
Though I suggest copy/pasting segments of the rail instead of everything at once, especially if you're getting the nil zone problem. |
|
|
| Report Abuse |
|
|
opplo
|
  |
| Joined: 09 Dec 2008 |
| Total Posts: 5320 |
|
|
| 14 Jan 2014 03:30 PM |
| Yes the group is Cframed wrong. Using the CFrame tool on potentially 20,000 bricks at once doesn't fare well with my laptop. I feel the scale is too large to do it in segments although that could be my last option. I'm going to attempt iterating through all the bricks and moving them using CFrame. |
|
|
| Report Abuse |
|
|
|
| 14 Jan 2014 05:35 PM |
| You could also try using command line to clone and parent to the workspace. |
|
|
| Report Abuse |
|
|
opplo
|
  |
| Joined: 09 Dec 2008 |
| Total Posts: 5320 |
|
|
| 17 Jan 2014 12:46 PM |
Ive tried CFraming which moved it correctly but each part was CFramed in the wrong direction they weren't rotated I used these lines, maybe someone could help.
I seemed to think that the " * CFrame.new(0,0,0)" made it keep it's rotation but I was wrong, maybe returning the CFrame it's currently in and then using that will work, not sure how.
for _,v in pairs(game.Selection:Get()) do v.CFrame = CFrame.new(v.Position.X, v.Position.Y + 100000, v.Position.Z) * CFrame.new(0, 0, 0) end
The cloning method didn't work. |
|
|
| Report Abuse |
|
|
Duxs
|
  |
| Joined: 26 Dec 2013 |
| Total Posts: 1212 |
|
|
| 17 Jan 2014 12:52 PM |
| Ozzy has a great plugin which lets you clone a model and it keeps the same position, basically putting it inside the original. |
|
|
| Report Abuse |
|
|
opplo
|
  |
| Joined: 09 Dec 2008 |
| Total Posts: 5320 |
|
|
| 17 Jan 2014 12:53 PM |
| That would be very helpful, could you tell me where to find it? |
|
|
| Report Abuse |
|
|
Duxs
|
  |
| Joined: 26 Dec 2013 |
| Total Posts: 1212 |
|
|
| 17 Jan 2014 12:54 PM |
http://ozzypig.com/roblox
It is called the Tiger Copy Button. |
|
|
| Report Abuse |
|
|
|
| 17 Jan 2014 01:17 PM |
Try just coping it through script and moving it with :MoveTo()
|
|
|
| Report Abuse |
|
|
opplo
|
  |
| Joined: 09 Dec 2008 |
| Total Posts: 5320 |
|
|
| 17 Jan 2014 01:18 PM |
| I've managed to get that working Duxs, but now I cant move it around to get it into place because the grab points have glitched due to the scale of the model. |
|
|
| Report Abuse |
|
|
opplo
|
  |
| Joined: 09 Dec 2008 |
| Total Posts: 5320 |
|
|
| 17 Jan 2014 01:19 PM |
| And I've tried using moveTo() It doesnt keep the CFrame. |
|
|
| Report Abuse |
|
|
btft
|
  |
| Joined: 19 Feb 2011 |
| Total Posts: 1512 |
|
|
| 17 Jan 2014 01:19 PM |
| Brick.CFrame = Brick.CFrame * CFrame.Angles() |
|
|
| Report Abuse |
|
|
opplo
|
  |
| Joined: 09 Dec 2008 |
| Total Posts: 5320 |
|
|
| 17 Jan 2014 01:38 PM |
| I've managed to get it working now. Thanks guys. |
|
|
| Report Abuse |
|
|