Move a dependent point

Tedus shared this question 1 year ago
Answered

Hi, I want to be able to drag "A" to move the vector "AB" without changing its magnitude or direction and then be able to drag "B" to change vectors magnitude and direction without moving "A".

https://www.geogebra.org/m/kgsqqbeg


I found this link that seems like what I was after but it is very old and didn't work consistently.

https://help.geogebra.org/t...

Comments (5)

photo
1

point A

circle AB

segment AB

point D=(x(A),y(A))

hide point A

drag with the right button point D

move point B

hide c

photo
2

In the attachment a solution with script in A onUpdate

photo
1

Thank you to both of you for the great (and fast) solutions!

Cheers, David.

photo
3

create the vector AB

then hide A


move the vector or move B

photo
1

Oh wow, now I just feel stupid :)

Thanks!

photo
© 2021 International GeoGebra Institute