Announcement

Collapse
No announcement yet.

temple run type controls

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    temple run type controls

    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
    Mike

    #2
    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 (:

    Open for contracted work | C++/BP (incl. Multiplayer) | Tutoring | VR

    My UE4 Blog/Page with Tutorials and more: Hit me for ALL the things!
    (Including 100+ Pages Multiplayer Network Compendium to get you started.)

    Comment


      #3
      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?

      Comment


        #4
        "Should" is a good word here. I haven't tested that yet, but yes, this is how i guess it should work.
        Open for contracted work | C++/BP (incl. Multiplayer) | Tutoring | VR

        My UE4 Blog/Page with Tutorials and more: Hit me for ALL the things!
        (Including 100+ Pages Multiplayer Network Compendium to get you started.)

        Comment


          #5
          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.

          Comment

          Working...
          X