# Programming a user controlled Robot arm 

**URL:** <https://forums.unrealengine.com/t/programming-a-user-controlled-robot-arm/2653146>\
**Category:** Blueprint\
**Tags:** unreal-engine, question, Blueprint\
**Created:** [September 3, 2025, 3:08am UTC](https://forums.unrealengine.com/t/programming-a-user-controlled-robot-arm/2653146 "2025-09-03T03:08:26Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pr0Rad4R](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pr0Rad4R](https://forums.unrealengine.com/u/Pr0Rad4R)\
**Post date:** [September 3, 2025, 3:08am UTC](https://forums.unrealengine.com/t/programming-a-user-controlled-robot-arm/2653146/1 "2025-09-03T03:08:26Z")

</div>

Hi!

I’m currently working on a simulator of a robot arm and got stuck. Basically I have the model assembed as an actor and just need to figure out how to make it rotate using user inputs.

 ![obraz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/9/3/c93cc5cba5534c92fc2db67aa753f967a0517fc1.png)

 ![obraz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/e/7/0e74f3b9bd77b7ecbf413a7347f814a96e23ab89.jpeg)I tried using the blueprint above to make it move but to no avail. Help will be greatly appreciated 🙂

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [September 3, 2025, 8:38am UTC](https://forums.unrealengine.com/t/programming-a-user-controlled-robot-arm/2653146/2 "2025-09-03T08:38:27Z")

</div>

Hey there @Pr0Rad4R! Welcome to the community! In your use case, I would use `Add Relative Rotation` instead of set, but it still has one other issue depending on where where your pivot points are for your meshes. If each is in the center, your rotations will rotate from there. When not using bones, I would usually recommend setting your pivot points in the modeling program you had modeled this in.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/5/9/959520e6614a570eea42c88edb148b441ea63e2e.png)

---

<div class="post-metadata">

**Author:** ![Pr0Rad4R](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pr0Rad4R](https://forums.unrealengine.com/u/Pr0Rad4R)\
**Post date:** [September 3, 2025, 10:50pm UTC](https://forums.unrealengine.com/t/programming-a-user-controlled-robot-arm/2653146/3 "2025-09-03T22:50:06Z")

</div>

Hi @SupportiveEntity What you said helps a bit but doesn’t fully solve my problem. What i need is to be able to make the object rotate only while I’m pressing a button (let’s say I want to use left arrow to make the first joint left and right arrow for the opposite direction)

If you know as well could you give me a suggestion on how to switch the controlled joint with player inputs as well? Would be much appreciated.

Thanks!

---

<div class="post-metadata">

**Author:** ![AK\_Ahmmad](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AK\_Ahmmad](https://forums.unrealengine.com/u/AK_Ahmmad)\
**Post date:** [September 4, 2025, 11:06am UTC](https://forums.unrealengine.com/t/programming-a-user-controlled-robot-arm/2653146/4 "2025-09-04T11:06:38Z")

</div>

Hello. Rename “IA\_RotateLeft” to “IA\_Rotate“ and change it from “Axis2D” to “Axis1D”, that way 1 float axis is used to go from -1 to 1 in one `InputAction`. Then in your `InputMappingContext`, create 2 `ActionMappings`for each arrow, but add `Negate`Modifier to one of them (whichever you prefer).

Right click on `AddRelativeRotation`’s `DeltaRotation` that @SupportiveEntity pointed out, and choose “Split Struct Pin“. Then connect “IA\_Rotate“ `ActionValue`to the axis you want (Y in your case).

---

<div class="post-metadata">

**Author:** ![Pr0Rad4R](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pr0Rad4R](https://forums.unrealengine.com/u/Pr0Rad4R)\
**Post date:** [September 4, 2025, 11:19pm UTC](https://forums.unrealengine.com/t/programming-a-user-controlled-robot-arm/2653146/5 "2025-09-04T23:19:02Z")

</div>

Hello. Thank you very much for help @AK_Ahmmad I did what you advised me to do but it still didnt solve the problem. The arm is standing still, even when i press the button. Any ideas what might be the cause?

 ![obraz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/9/9/39958ffd3dcb05e74fe93df3058553cd9a83d4c0.png)

 ![obraz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/6/c/b6c6ef6afdfac7a6663f213667b5eee9d3434056.png)

 ![obraz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/2853a3464a7bed8db90f84b8437a6b10812aff24.png)

 ![obraz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/a/4/5a40c3d0d21f2a65dd3d67837b6df0ec45550b5a.jpeg)

---

<div class="post-metadata">

**Author:** ![Ritos\_Revenge](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ritos\_Revenge](https://forums.unrealengine.com/u/Ritos_Revenge)\
**Post date:** [September 5, 2025, 4:05am UTC](https://forums.unrealengine.com/t/programming-a-user-controlled-robot-arm/2653146/6 "2025-09-05T04:05:13Z")

</div>

I noticed you’re using static meshes. Try rigging it and using the action value as a driver for the animation blueprint.

---

<div class="post-metadata">

**Author:** ![AK\_Ahmmad](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AK\_Ahmmad](https://forums.unrealengine.com/u/AK_Ahmmad)\
**Post date:** [September 5, 2025, 4:17am UTC](https://forums.unrealengine.com/t/programming-a-user-controlled-robot-arm/2653146/7 "2025-09-05T04:17:35Z")

</div>

Hello, you are welcome. Also don’t forget to multiply it by a value like you did before. It might be rotating but very slowly (don’t forget that the value is actually going from -1 to 1, so it is going by 1).

---

<div class="post-metadata">

**Author:** ![ARIANK0076](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ariank0076/32/1056912_2.png) [@ARIANK0076](https://forums.unrealengine.com/u/ARIANK0076)\
**Post date:** [September 5, 2025, 1:01pm UTC](https://forums.unrealengine.com/t/programming-a-user-controlled-robot-arm/2653146/8 "2025-09-05T13:01:19Z")

</div>

There’s one more way to this  
I had a Similar kind of robot with turret and I wanted it to dynamically adjust the turret’s pitch based on target’s location.  
What I did was to calculate the pitch angle and then I would feed that angle to the animation blueprint of my turret and in animgraph of anime bp you can use this node transform bone

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/4/b/74b5462df5d03305ffe55abdb0693efa8f2a86e6.png)  
I was setting the value of that variable turret head pitch from code.  
But for this it will require your robot arm to be a rigged single mesh and also anim bp.

---

<div class="post-metadata">

**Author:** ![Pr0Rad4R](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Pr0Rad4R](https://forums.unrealengine.com/u/Pr0Rad4R)\
**Post date:** [September 5, 2025, 11:00pm UTC](https://forums.unrealengine.com/t/programming-a-user-controlled-robot-arm/2653146/9 "2025-09-05T23:00:58Z")

</div>

That’s not exactly what I’m in need of. What I need is to be able to control the movement of my first person character **as well** as the rotation of the robot arm joints independently from each other. Preferably without having to rely on animating everything as I’m on a somewhat tight deadline 😅
