Undoomed
|
  |
| Joined: 19 Oct 2010 |
| Total Posts: 1662 |
|
|
| 11 Dec 2014 08:32 PM |
I need something like :clone() but when I use clone the map spawns above my water instead of in the water where it is supposed to be
how do i make the map come from serverstorage and be put in the exact location its supposed to be?
the water is always in game.Workspace |
|
|
| Report Abuse |
|
|
|
| 11 Dec 2014 08:34 PM |
| Use SetPrimaryPartCFrame to move models. |
|
|
| Report Abuse |
|
|
Undoomed
|
  |
| Joined: 19 Oct 2010 |
| Total Posts: 1662 |
|
|
| 11 Dec 2014 08:37 PM |
so i made this using the wiki
game.Workspace.MapBayside.PrimaryPart = game.Workspace.MapBayside.Barrier game.Workspace.MapBayside:SetPrimaryPartCFrame(game.Workspace.MapBayside.PrimaryPart.CFrame * CFrame.Angles(-225.54, 92.835, 104.38))
and it flipped my map upsidedown and in the air.. |
|
|
| Report Abuse |
|
|
Undoomed
|
  |
| Joined: 19 Oct 2010 |
| Total Posts: 1662 |
|
| |
|
|
| 11 Dec 2014 08:42 PM |
| Because you just rotated it. |
|
|
| Report Abuse |
|
|
Undoomed
|
  |
| Joined: 19 Oct 2010 |
| Total Posts: 1662 |
|
|
| 11 Dec 2014 08:47 PM |
game.Workspace.MapBayside:SetPrimaryPartCFrame(game.Workspace.MapBayside.PrimaryPart.CFrame.new(-225.54, 92.835, 104.38))
? |
|
|
| Report Abuse |
|
|
Undoomed
|
  |
| Joined: 19 Oct 2010 |
| Total Posts: 1662 |
|
|
| 11 Dec 2014 08:53 PM |
i think MoveTo(Vector3) would be better for what im doing
im just confused on where do i find the vector3 i want to use. do i just make a giant box the size of my model's selection and get its position?
ill try that |
|
|
| Report Abuse |
|
|
|
| 11 Dec 2014 09:29 PM |
| MoveTo() is probably not the best thing for what you're doing. I would suggest TranslateBy() |
|
|
| Report Abuse |
|
|