I created a camera object to follow around a unit, but I need to be able to set its degree of rotation with a Set Camera Object Property command. I first thought it might be my triggers, but after exhausting all possibilities (2 hours worth) I have been able to prove that it is the camera's fault. Any ever have this issue and know how to increase its max rotation range?
I can't set the camera rotation to be in quadrant 2 or 3 (180 -270 degrees left side). I even put in a Set Camera Object Rotation to i and had it loop through all 360 degrees with a text output to make sure it was working. The camera would rotate up to 90, stop while my chat got spammed with degrees 180 - 270 and then resume rotating from 270 to 0. It must be some built in camera property that it can't rotate that far. I've also tested all over my map just to make sure the camera isn't colliding with objects or the camera bounds. Still nothing.
To have a camera rotate around a unit, make a real variable and have a trigger that runs every 5 seconds or so. Have the trigger modify the variable by +20 or however fast you want the camera to spin, then have the trigger set the camera's rotation to the variable.
The problem is likely because between 360 and 0, the game doesn't operate like you would expect. Instead, once you reach 360 degrees and wish to rotate further, you should instead go to 380 degrees, 400 degrees etc, and not start again at zero.
I've played extensively with cameras, including a fully rotating camera and partially twisting cameras, but have never experienced what you're describing despite having many cameras in the region you're defining. I guess your problem is a unique one or you're missing something else.
I've identified this issue and posted it on Blizzard's forums http://us.battle.net/sc2/en/forum/topic/627976039#new-post.
The specific property "Rotation", when applied via a Camera Property Set, is limited in the values it can accept (to only be about a 180 degree radius turn).
You can bypass this problem by using the Camera Property Apply action.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I created a camera object to follow around a unit, but I need to be able to set its degree of rotation with a Set Camera Object Property command. I first thought it might be my triggers, but after exhausting all possibilities (2 hours worth) I have been able to prove that it is the camera's fault. Any ever have this issue and know how to increase its max rotation range?
What exactly is the problem? Doesn't it work?
You CAN enter whatever value you want to.
I can't set the camera rotation to be in quadrant 2 or 3 (180 -270 degrees left side). I even put in a Set Camera Object Rotation to i and had it loop through all 360 degrees with a text output to make sure it was working. The camera would rotate up to 90, stop while my chat got spammed with degrees 180 - 270 and then resume rotating from 270 to 0. It must be some built in camera property that it can't rotate that far. I've also tested all over my map just to make sure the camera isn't colliding with objects or the camera bounds. Still nothing.
bump. Nobody has ever had this issue?
To have a camera rotate around a unit, make a real variable and have a trigger that runs every 5 seconds or so. Have the trigger modify the variable by +20 or however fast you want the camera to spin, then have the trigger set the camera's rotation to the variable.
The problem is likely because between 360 and 0, the game doesn't operate like you would expect. Instead, once you reach 360 degrees and wish to rotate further, you should instead go to 380 degrees, 400 degrees etc, and not start again at zero.
Read the 3rd post of the thread, maybe that will help you identify the problem.
I've played extensively with cameras, including a fully rotating camera and partially twisting cameras, but have never experienced what you're describing despite having many cameras in the region you're defining. I guess your problem is a unique one or you're missing something else.