Results 1 to 2 of 2
  1. #1

    Default 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. #2
    Redeemer
    Join Date
    Nov 2009
    Location
    Help-me!
    Posts
    1,241

    Default

    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
    Lead Programmer
    It's the Only NEET Thing to Do

    Programming for non-fiction.
    I'm the function of my code. Conditions are my body and calls are my blood. I have input over a thousand lines. Unknown of bugs, nor known to work. Have withstand coffee to create many programs. Yet, those hands will never code anything again. So, as I pray, Unlimited Code Works.


 

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.