killjoy37
|
  |
| Joined: 27 Aug 2008 |
| Total Posts: 2821 |
|
|
| 02 Apr 2013 08:45 AM |
| I'm pretty sure you have to use lookVector, but I don't know where to start. |
|
|
| Report Abuse |
|
|
|
| 02 Apr 2013 08:50 AM |
yes look vector is the way to go. I think something like this not sure though. Part.CFrame = CFrame.new(position)*CFrame:LookVector()*2 |
|
|
| Report Abuse |
|
|
einsteinK
|
  |
| Joined: 22 May 2011 |
| Total Posts: 1015 |
|
|
| 02 Apr 2013 08:53 AM |
| Part.CFrame = Part.CFrame * CFrame.new(2,0,0) |
|
|
| Report Abuse |
|
|
|
| 02 Apr 2013 10:03 AM |
| Part.CFrame = Part.CFrame * Part.CFrame.lookVector * 2 |
|
|
| Report Abuse |
|
|
killjoy37
|
  |
| Joined: 27 Aug 2008 |
| Total Posts: 2821 |
|
|
| 02 Apr 2013 03:55 PM |
| Didn't work :( It said CFrame expected, got userdata, probably referring to the fact that a cframe was multiplied by a read only value (lookVector) |
|
|
| Report Abuse |
|
|
killjoy37
|
  |
| Joined: 27 Aug 2008 |
| Total Posts: 2821 |
|
|
| 02 Apr 2013 03:58 PM |
I figured it out!! You ADD the lookVector to the regular CFrame. |
|
|
| Report Abuse |
|
|