gerit99
|
  |
| Joined: 21 Jul 2010 |
| Total Posts: 521 |
|
|
| 08 May 2013 12:11 PM |
| How would I rotate an arm around a shoulder using a custom weld? (And one I only have to insert so others can just put in any rotation) |
|
|
| Report Abuse |
|
|
MrChubbs
|
  |
| Joined: 14 Oct 2010 |
| Total Posts: 4969 |
|
|
| 08 May 2013 12:20 PM |
Use fluctuating functions, in this a case sine and cosine,
local Radius = 1 for i = 0, 2*math.pi, math.pi/60 do local WeldPos = CFrame.new(Radius*math.sin(i), 0, Radius*math.cos(i)) end
Something along that line. |
|
|
| Report Abuse |
|
|
gerit99
|
  |
| Joined: 21 Jul 2010 |
| Total Posts: 521 |
|
|
| 08 May 2013 12:31 PM |
| I should have explained it more I guess. I want to rotate an arm around a shoulder, with the rotation known (In this case, math.rad(75),0,0). I am not sure how case sine and cosine work, so I wouldn't be able to use that. |
|
|
| Report Abuse |
|
|