• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[General] Camera Rotate

Status
Not open for further replies.
Level 37
Joined
Aug 14, 2006
Messages
7,602
Hey.

I'm doing a cinematic where walls are rising all around and I want to have a cool camera that rotates in X point. This camera should move pretty quickly and smoothly around X point.

However it seems like I cannot do this and I need help. Can you help me?
 

Attachments

  • ROTATE CAMERA.w3x
    33.2 KB · Views: 75
  • Camera Rotate.jpg
    Camera Rotate.jpg
    12.3 KB · Views: 96
Level 5
Joined
Apr 22, 2011
Messages
152
First of all - lock the camera to the certain point.
Then try this:
  • Events
    • Time - Every 0.01 seconds of game time
  • Conditions
  • Actions
    • Set rotation = (rotation + 1.00)
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • rotation Greater than or equal to 360.00
      • Then - Actions
        • Set rotation = 0.00
      • Else - Actions
    • Camera - Set Player 1 (Red)'s camera Rotation to rotation over 0.01 seconds
 
Level 37
Joined
Aug 14, 2006
Messages
7,602
First of all - lock the camera to the certain point.
Then try this:
  • Events
    • Time - Every 0.01 seconds of game time
  • Conditions
  • Actions
    • Set rotation = (rotation + 1.00)
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • rotation Greater than or equal to 360.00
      • Then - Actions
        • Set rotation = 0.00
      • Else - Actions
    • Camera - Set Player 1 (Red)'s camera Rotation to rotation over 0.01 seconds

I did it but it doesn't seem to work.

It's better that you open the map in world editor and check it out yourself if you know the correct answer. It's a bit stupid me to try different solutions even if I don't know what I'm doing.
 

Attachments

  • ROTATE CAMERA2.w3x
    33.4 KB · Views: 61
Status
Not open for further replies.
Top