SlashTag
|
  |
| Joined: 27 May 2013 |
| Total Posts: 73 |
|
|
| 15 Jun 2013 12:44 PM |
So I understand Origin and dirtection and everything, but I can't figure out how to use it in the way I desire.
I set the origin, but I want the direction to alternate between position A1,A2,A3,A4 for (x) amount of time.
local ray = Ray.new(user.Arm2.Output.CFrame.p, (mouse.Hit.p - user.Arm2.Output.CFrame.p).unit*300)
The origin is Output, but for now the direction is Hit. How can I make the direction alternate? |
|
|
| Report Abuse |
|
|
| 15 Jun 2013 12:51 PM |
Just change this:
mouse.Hit.p
To like:
local Hit = mouse.Hit.p A1 = Hit + Vector3.new(3, 5, 0)
And so on. |
|
|
| Report Abuse |
|
SlashTag
|
  |
| Joined: 27 May 2013 |
| Total Posts: 73 |
|
|
| 15 Jun 2013 12:53 PM |
| Alright, thanks for the help :D |
|
|
| Report Abuse |
|