jegabert
|
  |
| Joined: 11 Mar 2009 |
| Total Posts: 3515 |
|
|
| 05 May 2013 01:03 AM |
I am new to scripting models to move via CFrame.
while true do wait(0.1) model = script.Parent RelativeTransform( model:GetModelCFrame(), -- use the model's center model:GetChildren(), -- use the model's children function(center) -- rotate the center by 90 degrees return center * CFrame.Angles(0,math.rad(1),0)
end) end
This is what I have so far, it was supposed to be an adaptation of the spin script, but for models. Anyone got any ideas on fixing it?
I am getting an error with the "RelativeTransform)" line. |
|
|
| Report Abuse |
|
noah
|
  |
| Joined: 11 Sep 2006 |
| Total Posts: 18977 |
|
| |
|
| 05 May 2013 05:08 AM |
| Has 'RelativeTransform' been defined in this scope? |
|
|
| Report Abuse |
|