jonesj627
|
  |
| Joined: 06 Oct 2010 |
| Total Posts: 1496 |
|
|
| 10 Nov 2013 11:44 PM |
rightarm.CFrame = script.Parent.Parent.Character["Right Arm"].CFrame + CFrame.new(0,4,0);
would this offset the position and put the brick 4 studs away from rightarm?
right arm is not nil. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 10 Nov 2013 11:45 PM |
Well, no, for 2 reasons
1) * CFrame.new(0, 4, 0) 2) It will detach your arm |
|
|
| Report Abuse |
|
|
jonesj627
|
  |
| Joined: 06 Oct 2010 |
| Total Posts: 1496 |
|
|
| 10 Nov 2013 11:46 PM |
no, exactly right after it offsets, it welds, it just isn't the whole script, but this helped with number 2 so thanks.
|
|
|
| Report Abuse |
|
|
jonesj627
|
  |
| Joined: 06 Oct 2010 |
| Total Posts: 1496 |
|
|
| 11 Nov 2013 12:04 AM |
| how could i offset them rotation wise? |
|
|
| Report Abuse |
|
|
XAXA
|
  |
| Joined: 10 Aug 2008 |
| Total Posts: 6315 |
|
|
| 11 Nov 2013 12:05 AM |
| * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)) -- numbers in parentheses are in degrees. |
|
|
| Report Abuse |
|
|
jonesj627
|
  |
| Joined: 06 Oct 2010 |
| Total Posts: 1496 |
|
|
| 11 Nov 2013 12:19 AM |
leftarm.CFrame = leftarm.CFrame * CFrame.new(-1,0,0); leftarm.CFrame = script.Parent.Parent.Character["Left Arm"].CFrame* CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
first line doesn't work, yet no output, second line works. |
|
|
| Report Abuse |
|
|
XAXA
|
  |
| Joined: 10 Aug 2008 |
| Total Posts: 6315 |
|
|
| 11 Nov 2013 12:24 AM |
| leftarm.CFrame = leftarm.CFrame * CFrame.new(-1,0,0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0)) |
|
|
| Report Abuse |
|
|
jonesj627
|
  |
| Joined: 06 Oct 2010 |
| Total Posts: 1496 |
|
| |
|