|
| 21 Oct 2013 04:37 PM |
| Trying to move around a model, but they don't have a CFrame property and I don't know how to move all those parts. |
|
|
| Report Abuse |
|
|
CrniOrao
|
  |
| Joined: 12 Oct 2008 |
| Total Posts: 2274 |
|
|
| 21 Oct 2013 04:39 PM |
model = script.Parent X = 5 Y = 5 Z = 5
model:MoveTo(X, Y, Z)
Understood? :) |
|
|
| Report Abuse |
|
|
|
| 21 Oct 2013 04:40 PM |
| Ah, that's is so simple. Thank you so much, I am going to try it out. |
|
|
| Report Abuse |
|
|
|
| 21 Oct 2013 04:41 PM |
| It sounds like he wants something more similar to the CFrame property. You would have to use the toObjectSpace and toWorldSpace methods to use a basepart to move all of the parts individually in the model to a new point. |
|
|
| Report Abuse |
|
|
CrniOrao
|
  |
| Joined: 12 Oct 2008 |
| Total Posts: 2274 |
|
|
| 21 Oct 2013 04:42 PM |
| Maybe, I don't know these objects even existed since I was inactive for 2 years. :/ |
|
|
| Report Abuse |
|
|
|
| 21 Oct 2013 04:43 PM |
| Roy, could you give me an example of a script using that? |
|
|
| Report Abuse |
|
|
|
| 21 Oct 2013 04:49 PM |
Crni, I tried your script out. The output gives me an error, "Unable to cast double to Vector3". Any ideas?
|
|
|
| Report Abuse |
|
|
|
| 21 Oct 2013 04:51 PM |
| model:MoveTo(Vector3.new(X,Y,Z)) |
|
|
| Report Abuse |
|
|
|
| 21 Oct 2013 04:52 PM |
| Thanks, chicken. Got it to work. |
|
|
| Report Abuse |
|
|
CrniOrao
|
  |
| Joined: 12 Oct 2008 |
| Total Posts: 2274 |
|
|
| 21 Oct 2013 04:53 PM |
| What Mr. Chickenman158 said! :) |
|
|
| Report Abuse |
|
|