Hy every one,
Here is my probleme i try to get angle between two Vectors in p5 when both Can moove. What i’ve done is :
Push(); Translate(...); Bb= createVector (mouseX,mouseY) RotateZ(x); Aa= createVector(0,100); Pop(); Cc=aa.angleBetween(bb); x=mooving by an action/
So I get Cc for the first angle event I moove the mouse but if I change x it doesn’t change my angle.
Thanks a lot for your help and sorry for language I’m french ;)``