|
| 02 Jun 2014 09:34 PM |
| im making a script where it checks if an npc hasnt moved but it might send wrong information if the npc is still jumping so how do i check for magnitude change with x and z only? |
|
|
| Report Abuse |
|
|
| 02 Jun 2014 09:35 PM |
pos1 = part.Position pos2 = part2.Position pos1 = Vector3.new(pos1.X,0,pos1.Z) pos2 = Vector3.new(pos2.X,0,pos2.Z) print(pos1-pos2.magnitude) |
|
|
| Report Abuse |
|