Vector rotation

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 28/04/2006 at 01:29, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8 
Platform:   Windows  ;   
Language(s) :   C.O.F.F.E.E  ;

---------
Sorry for my stupid question but I'm new on this!
I need to rotate a vector in the coordinate of another vector, see this image :

I need to rotate P2 using P1 like joint, and found new coordinate of P2new.
P2new will be on the direction of P1 Z axis and vlen(p1-p2) will be equal to vlen(p1-p2new).

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 28/04/2006 at 02:02, xxxxxxxx wrote:

Found thank's!