|
| 27 Sep 2013 06:18 PM |
| Change a parts cframe without changing the angles |
|
|
| Report Abuse |
|
|
ZachBloxx
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 2833 |
|
|
| 27 Sep 2013 06:20 PM |
| Part.CFrame = CFrame.new(x,y,z) |
|
|
| Report Abuse |
|
|
|
| 27 Sep 2013 06:21 PM |
| I worded it wrong. The lookVector |
|
|
| Report Abuse |
|
|
ZachBloxx
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 2833 |
|
|
| 27 Sep 2013 06:22 PM |
| You want to edit the lookVector? |
|
|
| Report Abuse |
|
|
|
| 27 Sep 2013 06:23 PM |
| No, I want to edit the CFrame according to the lookVector |
|
|
| Report Abuse |
|
|
|
| 27 Sep 2013 06:25 PM |
| Like im trying to move the parts cframe in the direction of the lookVector |
|
|
| Report Abuse |
|
|
ZachBloxx
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 2833 |
|
|
| 27 Sep 2013 06:26 PM |
Ah. Alright.
Something like this?
Part.CFrame = (CFrame.new(x,y,z) - Part.CFrame.lookVector) |
|
|
| Report Abuse |
|
|
ZachBloxx
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 2833 |
|
| |
|
|
| 27 Sep 2013 06:30 PM |
| It changes the lookVector of my part e.e |
|
|
| Report Abuse |
|
|
ZachBloxx
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 2833 |
|
| |
|
|
| 27 Sep 2013 06:38 PM |
I figured it out. I feel like an idiot part.CFrame = part.CFrame+part.CFrame.lookVector |
|
|
| Report Abuse |
|
|
ZachBloxx
|
  |
| Joined: 26 Jun 2013 |
| Total Posts: 2833 |
|
|
| 27 Sep 2013 06:40 PM |
o i shoulda put an addition sign instead of subtraction
qq |
|
|
| Report Abuse |
|
|