# Get Hand Position and Orientation Deprecated 4.18 (how i replace? htc)

**URL:** <https://forums.unrealengine.com/t/get-hand-position-and-orientation-deprecated-4-18-how-i-replace-htc/418192>\
**Category:** XR Development\
**Tags:** htc, controller, Vive, unreal-engine, question\
**Created:** [February 23, 2018, 9:19pm UTC](https://forums.unrealengine.com/t/get-hand-position-and-orientation-deprecated-4-18-how-i-replace-htc/418192 "2018-02-23T21:19:47Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![dogrush](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dogrush](https://forums.unrealengine.com/u/dogrush)\
**Post date:** [February 23, 2018, 9:19pm UTC](https://forums.unrealengine.com/t/get-hand-position-and-orientation-deprecated-4-18-how-i-replace-htc/418192/1 "2018-02-23T21:19:47Z")

</div>

Get hand position is deprecated. “use motion controller componetns instead”. There is not such a node called “motion controller component” or “use montion controller component”…

basically the question is: if you make something deprecated, where on the whole internet can i find some documentation about it clear instructions on how to update it? I have my project working and any time i update i find this kind of annoying things and i need to loose lots of time figuring it out.

I’m using HTC vive, and i would need the location, forward vector and orientation of the hand controlers (sticks)

Hope you can point me to the solution, thnx in advance.

 ![231821-question.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/7/a/47adcd17d80a319528409e11cabeb374e4cd0205.jpeg)

Thnx.

---

<div class="post-metadata">

**Author:** ![dogrush](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dogrush](https://forums.unrealengine.com/u/dogrush)\
**Post date:** [February 25, 2018, 7:07pm UTC](https://forums.unrealengine.com/t/get-hand-position-and-orientation-deprecated-4-18-how-i-replace-htc/418192/2 "2018-02-25T19:07:57Z")

</div>

No one? i can’t find the node that replaces this… please give me a hint ☹

---

<div class="post-metadata">

**Author:** ![dogrush](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dogrush](https://forums.unrealengine.com/u/dogrush)\
**Post date:** [February 25, 2018, 7:26pm UTC](https://forums.unrealengine.com/t/get-hand-position-and-orientation-deprecated-4-18-how-i-replace-htc/418192/3 "2018-02-25T19:26:17Z")

</div>

Would be nice if epic could allow comments in the documentation, that would make it work more like a wiki… also it’s very important that you track within documentation what version of UE4 are you documenting and mark in which version things become deprecated and what’s the new channel to use in those cases… documentation policies seem very irresponsable, incomplete and inconsistent.

Hope you can improve your product that way. (if anyone is reading this comments :S)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_4e22ee02](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4e22ee02](https://forums.unrealengine.com/u/anonymous_user_4e22ee02)\
**Post date:** [February 26, 2018, 10:49am UTC](https://forums.unrealengine.com/t/get-hand-position-and-orientation-deprecated-4-18-how-i-replace-htc/418192/4 "2018-02-26T10:49:36Z")

</div>

Hi, I ain’t got no solution but maybe a hint. I think what they’re saying is to use a reference from your MotionController to access the component you need. Something like this.

![232030-motioncontrollerref.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/2/3/8238b14c2cf377fef7a98ec3846cfed504f51ecd.jpeg)

In your case as you’re targeting for the Hand, I’ll be starting maybe from something like this

 ![232042-motioncontrollerref2.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/0/5/805c855b1bae9776ea0366feba338a7dbdb254cd.jpeg)

---

<div class="post-metadata">

**Author:** ![Jant](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jant](https://forums.unrealengine.com/u/Jant)\
**Post date:** [March 24, 2018, 3:39am UTC](https://forums.unrealengine.com/t/get-hand-position-and-orientation-deprecated-4-18-how-i-replace-htc/418192/5 "2018-03-24T03:39:35Z")

</div>

Here is how I fixed it:

 ![234843-answer.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/0/3/d0379c187c5792a386590e70cad754642655219b.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_4e22ee02](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_4e22ee02](https://forums.unrealengine.com/u/anonymous_user_4e22ee02)\
**Post date:** [March 27, 2018, 7:30pm UTC](https://forums.unrealengine.com/t/get-hand-position-and-orientation-deprecated-4-18-how-i-replace-htc/418192/6 "2018-03-27T19:30:17Z")

</div>

Glad you found your way. Very interesting this set motion source node. Thks for sharing.

---

<div class="post-metadata">

**Author:** ![dogrush](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dogrush](https://forums.unrealengine.com/u/dogrush)\
**Post date:** [March 27, 2018, 7:59pm UTC](https://forums.unrealengine.com/t/get-hand-position-and-orientation-deprecated-4-18-how-i-replace-htc/418192/7 "2018-03-27T19:59:14Z")

</div>

Thnx mate!

---

<div class="post-metadata">

**Author:** ![LM\_l](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LM\_l](https://forums.unrealengine.com/u/LM_l)\
**Post date:** [May 31, 2018, 9:11am UTC](https://forums.unrealengine.com/t/get-hand-position-and-orientation-deprecated-4-18-how-i-replace-htc/418192/8 "2018-05-31T09:11:33Z")

</div>

use MotionController Component’s relativelocation .

---

<div class="post-metadata">

**Author:** ![LM\_l](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@LM\_l](https://forums.unrealengine.com/u/LM_l)\
**Post date:** [May 31, 2018, 9:12am UTC](https://forums.unrealengine.com/t/get-hand-position-and-orientation-deprecated-4-18-how-i-replace-htc/418192/9 "2018-05-31T09:12:30Z")

</div>

use MotionController Component’s relativelocation .

---

<div class="post-metadata">

**Author:** ![christuusgnosis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@christuusgnosis](https://forums.unrealengine.com/u/christuusgnosis)\
**Post date:** [February 12, 2022, 6:12pm UTC](https://forums.unrealengine.com/t/get-hand-position-and-orientation-deprecated-4-18-how-i-replace-htc/418192/10 "2022-02-12T18:12:29Z")

</div>

I would like some help with this same issue, years later  
the solution links are dead

HI.  
I have a project template that is basically a Lone Echo style locomotion in zero g with grab climbing

source video: [Zero-gravity hand-locomotion in VR - YouTube](https://www.youtube.com/watch?v=_QuEQ5bwWE4)  
source proj (very small, \>6 meg): [Zero-G hand-based movement, locomotion mechanics similar to Lone Echo/Echo VR (Updated 1/23/19)](https://forums.unrealengine.com/t/zero-g-hand-based-movement-locomotion-mechanics-similar-to-lone-echo-echo-vr-updated-1-23-19/214507)

and what I’m doing with it here:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/8/e/f8ea8ae9f62b2a12ba90a17a01fca24f16541619.jpeg "Lone echo zero g vr template !") ](https://www.youtube.com/watch?v=3xRULFj8PV4)

Basically this is all I need for most of my game project.

It was made for 4.1 and it converts to 4.27 fine, but there is the hand deprecated msg in compiling.  
It still compiles for win with the error, but the quest chokes on it, it compiles but flakes when you run it.

I’m an artist dev, not a blueprint master, only been using UE for 1.5 yrs.  
If you found a solution for this I would be very grateful to know.  
I am having the same prob as you were having, a bunch of devs who could fix it in a sec just saying roughly “git gud”.

I can still dev it and build my scenes, but in the end I would like to test natively on Quest apk as well as win.

thx for any info or links to possible solutions you might have.

---

<div class="post-metadata">

**Author:** ![christuusgnosis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@christuusgnosis](https://forums.unrealengine.com/u/christuusgnosis)\
**Post date:** [February 12, 2022, 6:20pm UTC](https://forums.unrealengine.com/t/get-hand-position-and-orientation-deprecated-4-18-how-i-replace-htc/418192/11 "2022-02-12T18:20:31Z")

</div>

I found this,  
but it isn’t enough info for me and the image is so pixelated I can’t read the text.

> **[Motion Controller Key Deprecation](https://docs.unrealengine.com/4.27/en-US/SharingAndReleasing/XRDevelopment/VR/VRHowTos/MotionControllerKeyDeprecation/)**
>
> Overview of Motion Controller Key Deprecation and Migration

---

<div class="post-metadata">

**Author:** ![Rectus\_SA](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Rectus\_SA](https://forums.unrealengine.com/u/Rectus_SA)\
**Post date:** [February 13, 2022, 1:19pm UTC](https://forums.unrealengine.com/t/get-hand-position-and-orientation-deprecated-4-18-how-i-replace-htc/418192/12 "2022-02-13T13:19:35Z")

</div>

The current best practice is to add a motion controller component for each hand to the player pawn, and read the position of the component itself to get the controller position.

This tutorial show how to add the component:

> **[Motion Controller Component Setup](https://docs.unrealengine.com/4.27/en-US/SharingAndReleasing/XRDevelopment/VR/VRHowTos/MotionController/)**
>
> Information on how to setup Motion Controllers for VR interaction.

To get the position, drag the component into the node area, and add Get World or Relative Location nodes as needed.  
 ![bild](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/d/2/dd2ab219881c4c8e861bb4439f2be93d962f5c00.png)

---

<div class="post-metadata">

**Author:** ![christuusgnosis](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@christuusgnosis](https://forums.unrealengine.com/u/christuusgnosis)\
**Post date:** [February 13, 2022, 7:50pm UTC](https://forums.unrealengine.com/t/get-hand-position-and-orientation-deprecated-4-18-how-i-replace-htc/418192/13 "2022-02-13T19:50:22Z")

</div>

I was able to make the errors go away using  
get motion source for hand  
and  
set motion source for hand

but since it was made for 4.21 I think the problem is as you say.  
thanks for the links

if you know of any other downloadable zero G vr projects I can look at I’d love a link.

I think what you say here is what I need to look at to get the project to work on quest.  
as is, its working fine in win64  
but the apk stalls loading on quest, and this is probably why.

---

<div class="post-metadata">

**Author:** ![Marin\_Marinov](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Marin\_Marinov](https://forums.unrealengine.com/u/Marin_Marinov)\
**Post date:** [September 20, 2022, 5:56pm UTC](https://forums.unrealengine.com/t/get-hand-position-and-orientation-deprecated-4-18-how-i-replace-htc/418192/14 "2022-09-20T17:56:04Z")

</div>

GOD, Than you !
