|
| 31 May 2012 03:29 PM |
every X coordinate to be exact.. How would I find every x coordinate between 1.2 and 6.8 for example? I need like 1.3, 1.4, 1.5, 1.6, etc.. Im assuming I could do something like, while wait() do if X_coor < PointA.Position.X and > PointB.Position.X then add to table somehow?
(i realize I just did from point B to point A.. Same difference ;/)
Saving for PSTF.. 13k/60k-ish :/ |
|
|
| Report Abuse |
|
|
|
| 31 May 2012 03:30 PM |
while wait() do if X_coor < PointA.Position.X and > PointB.Position.X then X_coor = X_coor + 0.1 add to table somehow end end
Saving for PSTF.. 13k/60k-ish :/ |
|
|
| Report Abuse |
|
|
C0D3Y
|
  |
| Joined: 24 Jul 2010 |
| Total Posts: 1692 |
|
|
| 31 May 2012 03:31 PM |
| What would the point of this be? |
|
|
| Report Abuse |
|
|
|
| 31 May 2012 03:35 PM |
I have my reasons. and before my train of thought derails, I think Ive got my answer.
while wait() do local x_coordinate = 0 local table_value = 1 positions = {} if x_coordinate > PointA.Position.X and < PointB.Position.X then positions[table_value] = x_coordinate x_coordinate = x_coordinate + 0.1 table_value = table_value + 1 else print("Table loaded") end end
Saving for PSTF.. 13k/60k-ish :/ |
|
|
| Report Abuse |
|
|
|
| 31 May 2012 03:38 PM |
You could always use :lerp to find out a point between any two vector points.
☜▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☜☆☞▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☞ - Candymaniac, a highly reactive substance. |
|
|
| Report Abuse |
|
|
|
| 31 May 2012 03:40 PM |
not what Im needin. I got it I think
Saving for PSTF.. 13k/60k-ish :/ |
|
|
| Report Abuse |
|
|