# temple run type controls

**URL:** <https://forums.unrealengine.com/t/temple-run-type-controls/39671>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [August 25, 2015, 1:32pm UTC](https://forums.unrealengine.com/t/temple-run-type-controls/39671 "2015-08-25T13:32:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_480becdd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_480becdd](https://forums.unrealengine.com/u/anonymous_user_480becdd)\
**Post date:** [August 25, 2015, 1:32pm UTC](https://forums.unrealengine.com/t/temple-run-type-controls/39671/1 "2015-08-25T13:32:27Z")

</div>

Hello,

I’m trying to create controls that are like those of temple run. I have been searching and searching but I can’t find anything on tilt controls. Does anyone know how or know of any tutorials on how to set up tilt controls? I want to tilt controls so when i tilt the phone left and right the player moves in that direction.

Thanks

---

<div class="post-metadata">

**Author:** ![eXi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/exi/32/906583_2.png) [@eXi](https://forums.unrealengine.com/u/eXi)\
**Post date:** [August 25, 2015, 1:41pm UTC](https://forums.unrealengine.com/t/temple-run-type-controls/39671/2 "2015-08-25T13:41:15Z")

</div>

Hey there, which OS are you talking about? Android, iOS or others?  
If you successfully installed the SDK of your operation system, you should be able to see new input things  
in your Project settings:

I’m pretty sure these should work for you. Otherwise come back and tell me. Then i will look into this (:

[http://puu.sh/jNZ99/fa944372a8.png](http://puu.sh/jNZ99/fa944372a8.png)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_480becdd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_480becdd](https://forums.unrealengine.com/u/anonymous_user_480becdd)\
**Post date:** [August 25, 2015, 3:55pm UTC](https://forums.unrealengine.com/t/temple-run-type-controls/39671/3 "2015-08-25T15:55:23Z")

</div>

So I should be able to set the tilt as the controls and then going to the blueprint and set up the controls and then it should work?

---

<div class="post-metadata">

**Author:** ![eXi](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/exi/32/906583_2.png) [@eXi](https://forums.unrealengine.com/u/eXi)\
**Post date:** [August 25, 2015, 4:53pm UTC](https://forums.unrealengine.com/t/temple-run-type-controls/39671/4 "2015-08-25T16:53:59Z")

</div>

“Should” is a good word here. I haven’t tested that yet, but yes, this is how i guess it should work.

---

<div class="post-metadata">

**Author:** ![ZoltanJr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ZoltanJr](https://forums.unrealengine.com/u/ZoltanJr)\
**Post date:** [August 26, 2015, 5:11am UTC](https://forums.unrealengine.com/t/temple-run-type-controls/39671/5 "2015-08-26T05:11:34Z")

</div>

You can set the tilt, but you will need to take the actual value from the tilt and perform some action with it, that wont be automatic for you. Just set it as an Axis in your project settings and it will give you a number between -1 and 1 then plug that into your controls.
