• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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