[General] How to rotate camera with unit?

Status
Not open for further replies.
You want to make the camera face the facing degree of the unit?

I think using
  • Camera - Rotate camera (Facing degree of Unit) degrees around (Position of Unit) for (Owner of Unit) over 1.00 seconds
every 0.3 seconds will do the job.
 
You want to make the camera face the facing degree of the unit?

I think using
  • Camera - Rotate camera (Facing degree of Unit) degrees around (Position of Unit) for (Owner of Unit) over 1.00 seconds
every 0.3 seconds will do the job.

Why even using a position that leaks?
Use this:

  • Camera - Set Player 1 (Red)'s camera Rotation to (Facing of Your Hero) over 0.25 seconds
Where the time in seconds is the rapidity at which the camera will rotate. The lower the time, the faster the rotation.
 
I've just shown the action, but he will use a variable for the point and then clear the leak..

The fact is: "Why even using a point variable that is not needed?"
You'd need 3 commands, one to set the point variable, one for the camera and one for removing the location. Why doing that when we can directly use one command?
Simplifying is always the better choice.
 
Status
Not open for further replies.
Back
Top