home *** CD-ROM | disk | FTP | other *** search
/ Game Level Design / GLDesign.bin / Software / UnrealEngine2Runtime / UE2Runtime-22262001_Demo.exe / Gameplay / Classes / RockingSkyZoneInfo.uc < prev    next >
Text File  |  2003-12-11  |  474b  |  17 lines

  1. //=============================================================================
  2. // RockingSkyZoneInfo.
  3. //=============================================================================
  4. class RockingSkyZoneInfo extends SkyZoneInfo;
  5.  
  6. simulated function Tick(float DeltaTime)
  7. {
  8.     local rotator NewRot;
  9.  
  10.     Super.Tick(DeltaTime);
  11.  
  12.     NewRot.Pitch = Rotation.Pitch + 1024 * DeltaTime;
  13.     NewRot.Roll  = Rotation.Roll;
  14.     NewRot.Yaw   = Rotation.Yaw;
  15.  
  16.     SetRotation(NewRot);
  17. }