• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Third Person Camera Rotation

Status
Not open for further replies.
Level 4
Joined
Oct 18, 2007
Messages
57
I'm working on a third person shooter map, and my camera rotation works when the unit is facing any angle between 0 and 90 degrees, but any angle larger or smaller than that, the camera locks to 270 or 0. My trigger tells the camera (which is locked to the position of the unit with Z offset) rotate to the facing angle of my unit. There isn't any math involved in determining its rotation, just to simply mimic the unit's facing angle. If anyone knows what a possible problem is, or even how to fix it, please comment. Thanks.
 
Status
Not open for further replies.
Top