• 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.

Camera Rotation System

Status
Not open for further replies.
Level 36
Joined
Jul 1, 2007
Messages
6,677
Hey, I'm making a map where the terrain is a little tricky (lots of steep hills and twisty paths) and it's impossible to see where you're going at the standard rotation. What I want is a system where when your unit faces a different direction, the camera will rotate to that direction (and it will follow the unit, too)
 
Level 7
Joined
Aug 5, 2005
Messages
218
I've done this a long time ago. It's pretty simple, all the camera setting actions are lumped together. Just lock the camera to the unit and set the angle of attack to a different angle, and on a periodic timer set the rotation of the camera to the facing angle of the unit. You'll just have to trial and error to get the distance and aoa just right.
 
Status
Not open for further replies.
Top