[SOLVED] Rotate and drag puzzle piece

Hi guys!
I am doing a puzzle game. I want to be able to drag the puzzle pieces and also rotate them. I’m not sure where to start. Should I use the physics engine to rotate the puzzle pieces (by following my draggable “rotation_button”, the round arrow) or should I skip the physics engine and only use the draggable behavior? And in that case make the puzzle piece always pointing towards the “rotation_button”. What I am trying to do is to make the puzzle piece draggable and make the “rotation_button” draggable around the puzzle piece to make it rotate.

Thanks

Farid

Ok, I found one solution that seems to work. I just force the Rotate_button to be put around the Puzzle_piece pointing at the same direction. Both objects use the Draggable behavior.

1 Like