|
| 03 Jan 2016 10:11 PM |
would rotating the primarypart do it?
|
|
|
| Report Abuse |
|
|
LicePro
|
  |
| Joined: 08 Dec 2015 |
| Total Posts: 467 |
|
| |
|
LicePro
|
  |
| Joined: 08 Dec 2015 |
| Total Posts: 467 |
|
|
| 03 Jan 2016 10:14 PM |
| game.Workspace.MiniModel:SetPrimaryPartCFrame () |
|
|
| Report Abuse |
|
|
LicePro
|
  |
| Joined: 08 Dec 2015 |
| Total Posts: 467 |
|
|
| 03 Jan 2016 10:17 PM |
Just an example: repeat game.Workspace.MiniModel:SetPrimaryPartCFrame () = CFrame.new (0,1,0) until game.Workspace.MiniModel.CFrame = CFrame.new(0,900,0) |
|
|
| Report Abuse |
|
|
LicePro
|
  |
| Joined: 08 Dec 2015 |
| Total Posts: 467 |
|
|
| 03 Jan 2016 10:20 PM |
| game.Workspace.MiniModel.Part* |
|
|
| Report Abuse |
|
|
| |
|
FlyNormal
|
  |
| Joined: 30 Sep 2015 |
| Total Posts: 344 |
|
|
| 03 Jan 2016 11:16 PM |
First set a primary part to the model. The part that will act as a rotation origin. Then simple use SetPrimaryPartCFrame to rotate the model.
model:SetPrimaryPartCFrame(model.PrimaryPart.CFrame * CFrame.Angles(0, math.rad(180), 0))
Will rotate the model in Y-Axis relative to PrimaryPart by 180 degrees. |
|
|
| Report Abuse |
|
|
LicePro
|
  |
| Joined: 08 Dec 2015 |
| Total Posts: 467 |
|
| |
|
FlyNormal
|
  |
| Joined: 30 Sep 2015 |
| Total Posts: 344 |
|
|
| 03 Jan 2016 11:22 PM |
| Your code will error and was not detailed enough. I merely gave a working code and more details. |
|
|
| Report Abuse |
|
|
LicePro
|
  |
| Joined: 08 Dec 2015 |
| Total Posts: 467 |
|
|
| 03 Jan 2016 11:23 PM |
| > I already corrected myself if you read, yet he asked for yes or no. |
|
|
| Report Abuse |
|
|
FlyNormal
|
  |
| Joined: 30 Sep 2015 |
| Total Posts: 344 |
|
|
| 03 Jan 2016 11:27 PM |
| Still it won't work. Learn coding and test your codes first before trying to help. |
|
|
| Report Abuse |
|
|
|
| 03 Jan 2016 11:28 PM |
@FlyNormal. You appear to have already done it for him?
|
|
|
| Report Abuse |
|
|