|
| 03 Nov 2017 05:31 PM |
A = Vector3.new(3, 2, 5) B = Vector3.new(45, -1, 2)
I thought it was m = ((x1-x2)/2),((y1-y2)/2),((z1-z2)/2) but apparently it doesn't work. Equation pls!! |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
| |
|
LaeMVP
|
  |
| Joined: 24 Jun 2013 |
| Total Posts: 4416 |
|
| |
|
| |
|
| |
|
Scarious
|
  |
| Joined: 06 Aug 2011 |
| Total Posts: 508 |
|
|
| 03 Nov 2017 05:51 PM |
A = Vector3.new(3, 2, 5) B = Vector3.new(45, -1, 2)
Middle = (CFrame.new(A,B) * CFrame.new(0, 0, (-(A-B).magnitude)/2)).p
|
|
|
| Report Abuse |
|
|
|
| 03 Nov 2017 07:21 PM |
So is it (A+B)/2 or (A-B)/2?
Y'all are confusing |
|
|
| Report Abuse |
|
|
| |
|
|
| 03 Nov 2017 07:25 PM |
| use chimmihc's solution who cares if it's plus or minus |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2017 07:29 PM |
((A - B).magnitude)/2
and I thought it was sqrt((x^2) + (y^2) + (z^2)) but maybe i'm wrong.
attempt to index global 'soul' (a nil value) |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2017 07:31 PM |
also it's (A+B)/2
like calculating the midpoint of two numbers on a number line |
|
|
| Report Abuse |
|
|
|
| 03 Nov 2017 08:18 PM |
| Get the average of both x’s y’s and z’s |
|
|
| Report Abuse |
|
|