WishNite
|
  |
| Joined: 11 Feb 2009 |
| Total Posts: 15828 |
|
|
| 01 Sep 2014 06:38 AM |
so I have this portion of a script
local x, y, z = part.CFrame:toEulerAnglesXYZ() script.Parent.Torso.CFrame = script.Parent.Torso.CFrame + CFrame.Angles(x,0,z)
It's supposed to set a Torso's CFrame to the X and Z rotation while ignoring the Y rotation. It doesn't work, however. |
|
|
| Report Abuse |
|
|
WishNite
|
  |
| Joined: 11 Feb 2009 |
| Total Posts: 15828 |
|
|
| 01 Sep 2014 06:40 AM |
| Replace the + with a *, sorry. There's no output errors. |
|
|
| Report Abuse |
|
|
Zecrit
|
  |
| Joined: 24 Jan 2013 |
| Total Posts: 2618 |
|
|
| 01 Sep 2014 06:46 AM |
| Might not be the problem but Torso's are attached to the arms, legs and head with welds, which prevents any of the parts being individually rotated. |
|
|
| Report Abuse |
|
|