# (Virtual Muscles) Access Angular Motor Orientation at runtime in PhAT?

**URL:** <https://forums.unrealengine.com/t/virtual-muscles-access-angular-motor-orientation-at-runtime-in-phat/454516>\
**Category:** World Creation\
**Tags:** ragdoll, joints, ai-controller, unreal-engine, Physics, question\
**Created:** [August 28, 2019, 9:48am UTC](https://forums.unrealengine.com/t/virtual-muscles-access-angular-motor-orientation-at-runtime-in-phat/454516 "2019-08-28T09:48:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rocketman](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rocketman](https://forums.unrealengine.com/u/rocketman)\
**Post date:** [August 28, 2019, 9:48am UTC](https://forums.unrealengine.com/t/virtual-muscles-access-angular-motor-orientation-at-runtime-in-phat/454516/1 "2019-08-28T09:48:17Z")

</div>

Does anyone know a way to control the orientation of the specific ragdoll joints at runtime with blueprints? I’m experimenting with Neural Networks and I want to try and evolve an AI character controller.  
In order to do it, the character needs to have some sort of “virtual muscles” which the AI would be able to control (orientation and strength) and put the character into the desired position.

So basically this but with normal UE skeleton:  
[https://www.youtube.com/watch?v=-hANxnHSlyg](https://www.youtube.com/watch?v=-hANxnHSlyg)

---

<div class="post-metadata">

**Author:** ![MaxNuker](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MaxNuker](https://forums.unrealengine.com/u/MaxNuker)\
**Post date:** [August 29, 2019, 8:34pm UTC](https://forums.unrealengine.com/t/virtual-muscles-access-angular-motor-orientation-at-runtime-in-phat/454516/2 "2019-08-29T20:34:34Z")

</div>

Hey man! I’m also working on something similar and so far I’ve had a lot of trouble with my controller.

Do you have a discord so we could maybe discuss and try to find a solution for us both?

---

<div class="post-metadata">

**Author:** ![rocketman](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@rocketman](https://forums.unrealengine.com/u/rocketman)\
**Post date:** [August 30, 2019, 10:52am UTC](https://forums.unrealengine.com/t/virtual-muscles-access-angular-motor-orientation-at-runtime-in-phat/454516/3 "2019-08-30T10:52:33Z")

</div>

Lets do it here so others would see too.  
So I have found this video:[[Evolving waving animation using Neural Networks and Genetic Algorithms on Unreal Engine - YouTube](https://www.youtube.com/watch?v=zMExDAzfjks)][1]

[1]: [Evolving waving animation using Neural Networks and Genetic Algorithms on Unreal Engine - YouTube](https://www.youtube.com/watch?v=zMExDAzfjks) but the author doesnt answer.  
So far I haven’t been able to find a blueprint node that would allow me to control the orientation of a specific joint
