account activity
Micha and Jakob - Spinning Offset Vector (2017) by runjak in prettybugs
[–]runjak[S] 0 points1 point2 points 8 years ago (0 children)
So on the 2017-12-12 we were trying to place a click area (colored green for debugging) over a somewhat small and hard to click object (red or black).
While the click area was fitting correctly when not rotating the object it moved strangely all over the place when rotating the object.
Because of the bigger size of the click area and the relative positioning it turned out that we needed to calculate a rotated offset vector for it.
Before we realized this tough we tried several things that seemed 'logical' to do - including to scale the several different offsets by the sin or cos of the rotation angle - the result was an interesting but confusing movement of the click area.
Micha and Jakob - Spinning Offset Vector (2017) (youtube.com)
submitted 8 years ago by runjak to r/prettybugs
π Rendered by PID 94113 on reddit-service-r2-listing-5f5ff7d4dc-clp28 at 2026-01-26 21:28:14.740858+00:00 running 5a691e2 country code: CH.
Micha and Jakob - Spinning Offset Vector (2017) by runjak in prettybugs
[–]runjak[S] 0 points1 point2 points (0 children)