abba99
|
  |
| Joined: 02 May 2009 |
| Total Posts: 95 |
|
|
| 27 Apr 2014 12:29 PM |
I'm making a rocket launch game and a found a few problems along the way
For some reason this line wont work
i=1,20 do --So pose to be 1 though 20 so 123456789... 20 Workspace.model.Cframe = Cframe.new(i,0,0)
Also if i do this
Worskpace.Model.Cframe = Cframe.new(8,0,0)
It will not move anywhere it will stay stationary Help anyone? |
|
|
| Report Abuse |
|
|
youssef04
|
  |
| Joined: 22 Jan 2011 |
| Total Posts: 1745 |
|
|
| 27 Apr 2014 12:31 PM |
You can't move model, but you can move it's parts:
local parts = game.Workspace.Model:GetChildren() parts.CFrame = CFrame.new(8, 0, 0) |
|
|
| Report Abuse |
|
|
|
| 27 Apr 2014 12:31 PM |
no youssef, @op, use :MoveTo()
#nerdsunited |
|
|
| Report Abuse |
|
|
abba99
|
  |
| Joined: 02 May 2009 |
| Total Posts: 95 |
|
|
| 27 Apr 2014 12:39 PM |
| Thanks for your help although its Workspace.Model:MoveTo(Vector3.new(0, 0, 0)) |
|
|
| Report Abuse |
|
|