# I want to modify the scale of character mesh to match reality according to height of camera in VR.

**URL:** <https://forums.unrealengine.com/t/i-want-to-modify-the-scale-of-character-mesh-to-match-reality-according-to-height-of-camera-in-vr/439697>\
**Category:** XR Development\
**Tags:** height, unreal-engine, scale, question\
**Created:** [December 18, 2018, 5:58am UTC](https://forums.unrealengine.com/t/i-want-to-modify-the-scale-of-character-mesh-to-match-reality-according-to-height-of-camera-in-vr/439697 "2018-12-18T05:58:49Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![CokeKuma](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CokeKuma](https://forums.unrealengine.com/u/CokeKuma)\
**Post date:** [December 18, 2018, 5:58am UTC](https://forums.unrealengine.com/t/i-want-to-modify-the-scale-of-character-mesh-to-match-reality-according-to-height-of-camera-in-vr/439697/1 "2018-12-18T05:58:49Z")

</div>

I want to get the camera height of the player through GetOrientationandPostion and adjust the scale ratio of the player mesh to the camera height value.

I am thinking about using math to calculate, but I can’t think of an idea. I’d appreciate it if you could help me.

---

<div class="post-metadata">

**Author:** ![DavidOConnor](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/davidoconnor/32/978533_2.png) [@DavidOConnor](https://forums.unrealengine.com/u/DavidOConnor)\
**Post date:** [December 18, 2018, 6:24am UTC](https://forums.unrealengine.com/t/i-want-to-modify-the-scale-of-character-mesh-to-match-reality-according-to-height-of-camera-in-vr/439697/2 "2018-12-18T06:24:40Z")

</div>

You might find this interesting… using entry and exit points and scaling between them…

> **[Desert Child: How I Faked Everything and Hopefully Got Away with It -](https://www.gamedeveloper.com/design/desert-child-how-i-faked-everything-and-hopefully-got-away-with-it---a-tragedy-in-3-d-acts)**
>
> Oscar Brittain and Akupara Games are releasing Desert Child on Switch, Xbox, PlayStation 4, and Steam December 11! Oscar hit us with the following tech blog on

---

<div class="post-metadata">

**Author:** ![DavidOConnor](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/davidoconnor/32/978533_2.png) [@DavidOConnor](https://forums.unrealengine.com/u/DavidOConnor)\
**Post date:** [December 18, 2018, 6:29am UTC](https://forums.unrealengine.com/t/i-want-to-modify-the-scale-of-character-mesh-to-match-reality-according-to-height-of-camera-in-vr/439697/3 "2018-12-18T06:29:11Z")

</div>

It’s not an instant solution, but you might find this interesting… using entry and exit points and scaling/interpolating between them… of the top of my head, I’d use Ease, Lerp or Interp… maybe with a Timeline…

> **[Desert Child: How I Faked Everything and Hopefully Got Away with It -](https://www.gamedeveloper.com/design/desert-child-how-i-faked-everything-and-hopefully-got-away-with-it---a-tragedy-in-3-d-acts)**
>
> Oscar Brittain and Akupara Games are releasing Desert Child on Switch, Xbox, PlayStation 4, and Steam December 11! Oscar hit us with the following tech blog on

---

<div class="post-metadata">

**Author:** ![CokeKuma](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CokeKuma](https://forums.unrealengine.com/u/CokeKuma)\
**Post date:** [December 19, 2018, 4:19am UTC](https://forums.unrealengine.com/t/i-want-to-modify-the-scale-of-character-mesh-to-match-reality-according-to-height-of-camera-in-vr/439697/4 "2018-12-19T04:19:03Z")

</div>

It’s not the answer I want, but thank you very much for your answer. I simply need a logic to calibrate the Character Mesh with the Camera Height Value. I want the scale value to be changed properly only when I call a function that is not continuously updated in real time.
