[General] Camera Rotate

Status
Not open for further replies.
Level 37
Joined
Aug 14, 2006
Messages
7,610
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
    ROTATE CAMERA.w3x
    33.2 KB · Views: 129
  • Camera Rotate.jpg
    Camera Rotate.jpg
    12.3 KB · Views: 137
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
 
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

Status
Not open for further replies.
Back
Top