# Any way to limit bone rotation?

**URL:** <https://forums.unrealengine.com/t/any-way-to-limit-bone-rotation/483861>\
**Category:** Character & Animation\
**Tags:** limitation, unreal-engine, question\
**Created:** [May 25, 2021, 1:51am UTC](https://forums.unrealengine.com/t/any-way-to-limit-bone-rotation/483861 "2021-05-25T01:51:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AleMarcati](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/alemarcati/32/1139690_2.png) [@AleMarcati](https://forums.unrealengine.com/u/AleMarcati)\
**Post date:** [May 25, 2021, 1:51am UTC](https://forums.unrealengine.com/t/any-way-to-limit-bone-rotation/483861/1 "2021-05-25T01:51:20Z")

</div>

I have a character (an enemy) that is a tank/robot and he has a cannon, I’ve set the blueprints in a way that when the robot is seeing the player, the cannon points to the character (I used a “find look at angle” node and set the bone rotation to this angle in the anim blueprint).  
But I want the cannon rotation to be limited, not completely free in all 360 degrees.  
I can’t find any way to limit this rotation. I thought about using clamp to limit each angle (pitch, yall and roll), but the rotation is in world space so that wouldn’t work. If there was a way to set limits directly to the bone in the skeleton, that would be really great.  
Any suggestions?

---

<div class="post-metadata">

**Author:** ![Kehel18](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kehel18](https://forums.unrealengine.com/u/Kehel18)\
**Post date:** [May 25, 2021, 3:01pm UTC](https://forums.unrealengine.com/t/any-way-to-limit-bone-rotation/483861/2 "2021-05-25T15:01:09Z")

</div>

Hello! You can add constraints in Physics asset for you skeleton. Take a look at that [PhAT: Introduction to Constraints | 03 | v4.2 Tutorial Series | Unreal Engine - YouTube](https://www.youtube.com/watch?v=px8Hw7SbWdE)
