aka303
|
  |
| Joined: 25 May 2012 |
| Total Posts: 2063 |
|
|
| 04 Jan 2014 05:05 PM |
I need help writing a script that makes a block go forward, in the direction it is facing. Not [blah blah blah...+Vector3.new(x, x, x)] because that only makes it in a specific direction, but a script that makes it go in the direction the block is facing. Please tell me how to to that.
|
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 04 Jan 2014 05:08 PM |
forward = 10 block.Position = block.CFrame * CFrame.new(0, 0, -forward)
|
|
|
| Report Abuse |
|
|
|
| 04 Jan 2014 05:08 PM |
| I honestly don't think this is possible. I can't think of a single method that can relate to this. .-. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 04 Jan 2014 05:13 PM |
| It is so easily possible, there are like, 20 ways to do it as well |
|
|
| Report Abuse |
|
|