Results 1 to 5 of 5

Thread: Difference betweek setRotation and setDesiredRotation ?

  1. #1
    rXp
    Guest

    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
    100GPing100
    Guest
    SetDesiredRotation will rotate to the specified rotation smoothly (depending on the InterpolationTime).
    SetRotation instantly sets it's rotation.

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

  4. #4
    100GPing100
    Guest

  5. #5
    rXp
    Guest
    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)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •