# problem about actor rotation

**URL:** https://discourse.vtk.org/t/problem-about-actor-rotation/6616
**Category:** Support
**Created:** [September 12, 2021, 2:59pm UTC](https://discourse.vtk.org/t/problem-about-actor-rotation/6616 "2021-09-12T14:59:11Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Noobbbb](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/n/8e7dd6/32.png) [@Noobbbb](https://discourse.vtk.org/u/Noobbbb)
#### Post date: [September 12, 2021, 2:59pm UTC](https://discourse.vtk.org/t/problem-about-actor-rotation/6616/1 "2021-09-12T14:59:11Z")

</div>

Hi,i’m trying to rotate an actor around itself (the head of this machine)，bu it seem that it rotate around an axis in the world，how can i fix this ？  
my code：  
bmHead-\>RotateWXYZ(10, 1, 0, 0);|  
bmHead-\>SetPosition( -this-\>TimerCount \* 50, 0, 0);|

tbmBody-\>SetPosition( -this-\>TimerCount \* 50, 0, 0);|  
 ![tbmRotate](https://discourse.vtk.org/uploads/default/original/2X/4/43d739d85967aa09e4a394c06019186516c38cdb.gif)
