OnlineOne
|
  |
| Joined: 14 Jul 2011 |
| Total Posts: 1193 |
|
|
| 25 Apr 2017 05:48 PM |
| I made a part and I'm trying to move it one unit forward from where it currently is. However, when I do, how do I control the amount of studs it moves by? |
|
|
| Report Abuse |
|
|
|
| 25 Apr 2017 05:50 PM |
| Multiply lookvector by whatever. |
|
|
| Report Abuse |
|
|
|
| 25 Apr 2017 05:50 PM |
| Multiply lookVector by #studs |
|
|
| Report Abuse |
|
|
OnlineOne
|
  |
| Joined: 14 Jul 2011 |
| Total Posts: 1193 |
|
|
| 25 Apr 2017 05:58 PM |
part.CFrame = part.CFrame + (part.CFrame.lookVector * 5);
Would this move it by 5 studs? |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
OnlineOne
|
  |
| Joined: 14 Jul 2011 |
| Total Posts: 1193 |
|
| |
|