Vector point: snap & position



Hi there,

I am facing the following challenge. The small triangles (see ax_1.png) are both rotatable and draggable. The goa for the user is to line the traingles up with the tips (the ones with the dots) touching the orange line, creating a semicircle (see ax_2.png).

Now to the problems/questions:

  1. is it possible to have the tips of the triangle “snapped” / fixed to the orange line when dropped? If yes, how?
  2. is it possible to display a feedback after correct (!) placement of the triangles? Displaying a message is not the problem, but finding out if the triangles are placed correctly! How would this be reliably possible?

Many thanks for your help!

If there are any questions left, let me know and I’ll explain further.



Please post your .rp file.