How to code an object rotate about its own axis?


How to code an object rotate about its own axis?
The rotational axis by default is outside the object. Can the axis be shifted?


Hi @ha_sir.
Please use the turn around origin block.

Origin (0,0,0) local shifts the rotation axis to the object center


Thanks for your reply.
I have tried this one but cannot produces the desired effect.
In the screenshot, I want the star to revolve about its own central axis, but does not work.21%20AM


Here is the setting of the turn function.


Here is what actually happens. The star revolve about an axis outside the itself. Can the rotational axis be set and aligned with the centre of the star? I have tried various values of x, y, z of origin, but still cannot figure out a way to do so.


Hello, could you please share with us your scene?


Thanks, here it is:


Hello Ha_sir,

thank you for sharing your scene. We found some wrong behaviour of “turn” block and we will fix it as soon as possible.


You have a professional team!


I’m also interested in this question. I could only choose either turn the object clockwise or counter-clockwise. Did I do something wrong?