seanb117
|
  |
| Joined: 03 Feb 2010 |
| Total Posts: 1020 |
|
|
| 02 May 2013 06:25 PM |
When creating a brick with a script, how would you create it with the front end facing down? Like game.Workspace.Part.CFrame.Angles(0,0,0) I'm just not sure which of the x,y,z to change and to how much. Thanks for any help. I'm sure its simple, bit CFrame has always confused me. |
|
|
| Report Abuse |
|
|
| 02 May 2013 06:27 PM |
This should do it. If not, then try useing math.pi/2 in the X value instead of the Z.
Part.Cframe = Part.CFrame * CFrame.Angles(0,0,math.pi/2) |
|
|
| Report Abuse |
|
seanb117
|
  |
| Joined: 03 Feb 2010 |
| Total Posts: 1020 |
|
| |