Results 1 to 5 of 5
  1. #1

    Question Difference betweek setRotation and setDesiredRotation ?

    Hello,

    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,

    rXp>!<

  2. #2
    Boomshot

    Join Date
    Feb 2010
    Location
    Portugal
    Posts
    2,369

    Default

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

  3. #3

    Default

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

  4. #4

  5. #5

    Default

    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)


 

Bookmarks

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-2011 Epic Games, Inc. All Rights Reserved.
Digital Point modules: Sphinx-based search vBulletin skin by CompletevB.com.