Samson918
|
  |
| Joined: 15 Apr 2012 |
| Total Posts: 174 |
|
|
| 23 Nov 2016 09:12 PM |
How do I reference one of the three values in a Vector3?
For exmple
a = Vector3.new(1, 2, 3) blah = a.(3rd number in the vector3)
How do I give blah that value???
I'm trying to make a laser that leaves a gun and travels towards a nearby player. I found a function that returns the vector3 position of the nearest player, how can I separate it into into its three values |
|
|
| Report Abuse |
|
| |
Samson918
|
  |
| Joined: 15 Apr 2012 |
| Total Posts: 174 |
|
|
| 23 Nov 2016 09:29 PM |
| Thanks! That seemed to work |
|
|
| Report Abuse |
|