Rotation with Blockly

Hi again
Well, as in the other world, we wanted to rotate an object in circles. But around vector. We don’t want to make it rotate around himself. But this time we wanted to make it in Blockly and we didn’t know what are the blocks to make it. I don’t know if you undestanded.
Thx for the support!

Hi, you can use this Blockly to specify the vector and direction that you would like the object to rotate.


In this example, we used a mouse as a reference for the vector and then programmed the variables in the code to suit our needs so that the man rotates around the mouse (the mouse being the centre of our vector) :

I hope this helps! Thank you

Okey we will try it. Thank you so much

1 Like