Need to go the other way: vector from a to b is (b-a)  {-3, 2, 4}

Best,

---
[image: Nicolas Chaverou - Golaem Crowd Product Manager - Golaem SA]

+33 (0)2 99 27 21 44
http://www.golaem.com

On Wed, Dec 7, 2016 at 9:58 AM, <alessia.bec...@gmail.com> wrote:

> Hi,
>
> this maya be a dumb question. I basically have two points in space
> a(1,2,3) and b(-2,4,7) and i want to find out what values i need to add to
> the 'a' coordinates to get to the 'b' coordinates. If i subtract then it
> would give me (1-(-2)),(2-4),(3-7) = (3,-2,-4).
>
> but then if i add these difference values back on top of the 'a'
> coordinates i wont get (-2,4,7), i get (4,0,-1)
>
> this is probably a simple maths thing but im not clever :/
>
> any help would be great,
> Sam
>
> --
> You received this message because you are subscribed to the Google Groups
> "Python Programming for Autodesk Maya" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to python_inside_maya+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/python_inside_maya/6eb23b46-3002-4d76-8a26-
> 9d9e4998b71a%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAFS5DCaAfKEb-8qFnjHi0QVcY9o0YZZYDTsjRoDgeAh6YjN%2BpQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to