seith14
|
  |
| Joined: 10 May 2014 |
| Total Posts: 56 |
|
|
| 10 Jan 2015 10:29 PM |
| Alright I'm currently using A Part:MoveTo(Vector3.new(0,0,0)) But the model spawns ontop of the model I am moving it to. All I want it to be kinda like a gate that moves up into this part but Like I said it moves ontop of the part instead of where I want it to be.. |
|
|
| Report Abuse |
|
|
025110
|
  |
| Joined: 23 Nov 2012 |
| Total Posts: 57661 |
|
|
| 10 Jan 2015 10:39 PM |
:MoveTo() doesnt go into other parts
use part.CFrame = CFrame.new(0,0,0) |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
| |
|
|
| 10 Jan 2015 11:52 PM |
Models have a property called PrimaryPart. You have to set this manually. You can then use model:SetPrimaryPartCFrame(yourCFrameHere) |
|
|
| Report Abuse |
|
|
seith14
|
  |
| Joined: 10 May 2014 |
| Total Posts: 56 |
|
|
| 11 Jan 2015 04:16 PM |
| Ya I'm moving a model not a part.. i just named it part. |
|
|
| Report Abuse |
|
|
seith14
|
  |
| Joined: 10 May 2014 |
| Total Posts: 56 |
|
|
| 11 Jan 2015 04:22 PM |
| How do I set a PrimaryPart? I tried changing the part's Name to PrimaryPart but it did nothing when the script was ran. |
|
|
| Report Abuse |
|
|
seith14
|
  |
| Joined: 10 May 2014 |
| Total Posts: 56 |
|
|
| 11 Jan 2015 05:42 PM |
| Nvm I found out how thank you! |
|
|
| Report Abuse |
|
|