Announcement

Collapse
No announcement yet.

Why I can't rotate character?

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

    Why I can't rotate character?

    I'm working on some project for Google VR and I have problem with rotate the player character. When I use HMD I can rotate camera but not a character. When I use right analog stick I can do nothing. I want to use hmd or right analog to specify direction of movement. I attached screens with: movement, rotating by hmd, rotating by right analog. I can't use default controller and character pawn, because my phone interprets triggers as right analog stick of my xbox controller. When I plug it camera starts rotate itself.
    Click image for larger version

Name:	17991360_270729953337463_6152792123777824559_o.jpg
Views:	1
Size:	83.8 KB
ID:	1216655
    Click image for larger version

Name:	17917104_270730006670791_5349133748333264975_o.jpg
Views:	1
Size:	88.8 KB
ID:	1216656
    Click image for larger version

Name:	17972326_270902343320224_7571401546486701985_o.jpg
Views:	1
Size:	82.7 KB
ID:	1216657

    #2
    Quick check: does your VR pawn have a movement component in it? (i.e. if it is derived from either Default Pawn or Character it should have one. If it is derived from Pawn it doesn't)
    CTO | Head of VR Development - Visit us at http://humanxr.com
    My UE4 Tutorials (mostly VR): https://goo.gl/GUvDyV

    Comment


      #3
      Set Control rotation, not actor rotation.

      You'll also need to offset it by a Pivot (HMD Relative location).


      Consider supporting me on patreon

      My Open source tools and plugins
      Advanced Sessions Plugin
      VR Expansion Plugin

      Comment

      Working...
      X