Announcement

Collapse

The Infinity Blade Forums Have Moved

We've launched brand new Infinity Blade forums with improved features and revamped layout. We've also included a complete archive of the previous posts. Come check out the new Infinity Blade forums.
See more
See less

DesiredRotation in outdated tutorial?

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

  • DesiredRotation in outdated tutorial?

    I'm very slowly making my way through the Mastering UnrealScript tutorials. I consider myself a somewhat experienced programmer but it's always rough learning a new API, especially one as vast as UnrealScript. I have no experience with Unreal before UDK. I've done some XNA and Unity work but nothing serious.

    As I was working through this page:
    http://udn.epicgames.com/Three/Maste...Functions.html

    I noticed that using the DesiredRotation variable was throwing a compile error. I checked the Actor class and found in a comment that it had been moved to Pawn! Should I change the AmbientCreatureClass to extend Pawn instead of Actor, or should I simply try to duplicate the functionality? When I checked in Pawn for the actual DesiredRotation handling code it was all wrapped up in native functions. Guess I'm not stealing their code.

  • #2
    Searching for DesiredRotation will bring you a few threads, one interesting:

    http://forums.epicgames.com/showthre...esiredRotation

    In this thread, the user steph makes a notable post.
    Just remember to divide the RInterpTo instead of multiplying at the speed boost.

    I finished this tutorial and it works correctly.

    http://www.youtube.com/watch?v=Ln2LNPJl6Ww

    Comment

    Working...
    X