person725
|
  |
| Joined: 11 Oct 2009 |
| Total Posts: 535 |
|
|
| 01 Jan 2014 02:54 PM |
| If I wanted to position a brick anchored exactly 1 stud to the left of the players arm, I could do + Vector3 but what if the player is facing a different direction? How do I make it exactly to the left? |
|
|
| Report Abuse |
|
|
person725
|
  |
| Joined: 11 Oct 2009 |
| Total Posts: 535 |
|
| |
|
person725
|
  |
| Joined: 11 Oct 2009 |
| Total Posts: 535 |
|
| |
|
person725
|
  |
| Joined: 11 Oct 2009 |
| Total Posts: 535 |
|
| |
|
person725
|
  |
| Joined: 11 Oct 2009 |
| Total Posts: 535 |
|
| |
|
person725
|
  |
| Joined: 11 Oct 2009 |
| Total Posts: 535 |
|
| |
|
person725
|
  |
| Joined: 11 Oct 2009 |
| Total Posts: 535 |
|
| |
|
CrniOrao
|
  |
| Joined: 12 Oct 2008 |
| Total Posts: 2274 |
|
| |
|
person725
|
  |
| Joined: 11 Oct 2009 |
| Total Posts: 535 |
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 01 Jan 2014 04:08 PM |
| brick.CFrame = brick.CFrame * CFrame.new(-1, 0, 0) |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 01 Jan 2014 04:08 PM |
Or if you want position
brick.Position = brick.CFrame * Vector3.new(-1, 0, 0) |
|
|
| Report Abuse |
|
|
person725
|
  |
| Joined: 11 Oct 2009 |
| Total Posts: 535 |
|
|
| 01 Jan 2014 04:08 PM |
| ok, but what if I turn an then its behind my arm?? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 01 Jan 2014 04:09 PM |
| This will place it left relative to the CFrame, so no matter which way the part is facing, it will be left of that |
|
|
| Report Abuse |
|
|
person725
|
  |
| Joined: 11 Oct 2009 |
| Total Posts: 535 |
|
| |
|