Announcement

Collapse
No announcement yet.

Isometric Camera

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

    Isometric Camera



    Does anyone know the XYZ and pitch and yaw for the UDN isometric camera?

    * Or a similar one

    #2
    does anyone know

    Comment


      #3
      The values should all be in the example code:

      http://udn.epicgames.com/Three/Camer...etric%20Camera

      Comment


        #4
        well ok ill find it somehow didnt see it though

        Comment


          #5
          {
          out_CamLoc = Location;
          out_CamLoc.X -= Cos(IsoCamAngle * UnrRotToRad) * CamOffsetDistance;
          out_CamLoc.Z += Sin(IsoCamAngle * UnrRotToRad) * CamOffsetDistance;

          out_CamRot.Pitch = -1 * IsoCamAngle;
          out_CamRot.Yaw = 0;
          out_CamRot.Roll = 0;

          return true;
          }

          simulated singular event Rotator GetBaseAimRotation()
          {
          local rotator POVRot, tempRot;

          tempRot = Rotation;
          tempRot.Pitch = 0;
          SetRotation(tempRot);
          POVRot = Rotation;
          POVRot.Pitch = 0;

          return POVRot;
          }

          defaultproperties
          {
          IsoCamAngle=6420 //35.264 degrees
          CamOffsetDistance=384.0
          }

          Comment

          Working...
          X