Rotating problem 😕

So like I’m trying to rotate one hand overlay but it just won’t go to spot I want :sob:
Here’s my code



Any help is appreciated :hugs:

  1. you have to rotate the limb overlay in the place where is the elbow. But you rotate it in the middle using the anchor point 0.5 0.5

  2. when you change anchor point you MUST first change it and only after it you have to spot it because changing anchor point changes the place where the overlays appears on the screen.

Explanation - anchor point is point ON OVERLAY which has 2 functions

  • it is the point which script relates the shift coordinates to
  • it is the center of the rotation
1 Like

Like:
@overlay HAND2 rotates 78 anchor point 0.5 1.0 in 3
Or
@overlay HAND2 rotates 78 anchor point 1.0 0.5 in 3? :thinking:

it depends on how your overlay look like if the hand is without the rotation horizontal over vertical and also if you do not have any transparent space aroud it… here is the anchor point explained on picture

2 Likes

Thank you so much :pleading_face:

2 Likes