# Physics: Apply torque to rotate at constant rate

**URL:** <https://forums.unrealengine.com/t/physics-apply-torque-to-rotate-at-constant-rate/405733>\
**Category:** World Creation\
**Tags:** torque, unreal-engine, Physics, UE4, question, CPP\
**Created:** [September 29, 2017, 7:41am UTC](https://forums.unrealengine.com/t/physics-apply-torque-to-rotate-at-constant-rate/405733 "2017-09-29T07:41:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zuraneu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zuraneu](https://forums.unrealengine.com/u/zuraneu)\
**Post date:** [September 29, 2017, 7:41am UTC](https://forums.unrealengine.com/t/physics-apply-torque-to-rotate-at-constant-rate/405733/1 "2017-09-29T07:41:48Z")

</div>

Hi everyone,

I’m currently worling on a physical simulation of a mecanism and I would like to be able to rotate an object at a constant rate around an axis **independantly of its mass and masses of other pieces that are bound to him with Physics constraints**.

Because I have to make it works using physics, I need a way to apply a torque to rotate my object, but the condition in bold make things hard to do.

I found [that answer](http://answers.unity3d.com/questions/48836/determining-the-torque-needed-to-rotate-an-object.html?childToView=1413341#comment-1413341) but it’s for unity so I can’t simply copy and paste the code in c++. I know that unreal lets me [add a torque](https://docs.unrealengine.com/latest/INT/BlueprintAPI/Physics/AddTorque/index.html) to apply a torque as an angular acceleration by setting the “Accel change” field as true but If i want a rotation at a constant rate, the angular speed would be constant and so the angular acceleration would be equal to zero, so why do they allow me to do that ?

So I have three little questions for you :

- How to do that in UE4 ?
- why unity use a inertiaTensorRotation ro rotate its iertia tensor whereas UE4 don’t ?
- what is the inertiaTensorRotation in physics ?
