Results 1 to 5 of 5
  1. #1

    Question Difference betweek setRotation and setDesiredRotation ?


    What is the difference(s) between the setRotation function and the setDesiredRotation function. I didn't find it in the documentation and all the tutorial use both without telling why and which does what.

    Best regards,


  2. #2

    Join Date
    Feb 2010


    SetDesiredRotation will rotate to the specified rotation smoothly (depending on the InterpolationTime).
    SetRotation instantly sets it's rotation.

  3. #3


    Thank you !
    Is there any documentation explaining every classes and functions ? (like with Java or C++)

  4. #4

  5. #5


    Quote Originally Posted by 100GPing100 View Post
    Thank you for that but I guess I will have to test a lot of things in playerinput. For example I'm trying to make my pawn to look (be turned) in the direction of my invisible cursor.(yes a 2d game test to learn the basics) For the pitch aLookUp works great !
    But I can't find someting in playerinput that could tell me where the mouse is in the X axis of the screen to make my pawn turn toward it.(mouseX always return to 0)



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Copyright ©2009-2015 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by