• 🏆 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!

Animation Help

Status
Not open for further replies.
Level 8
Joined
Feb 21, 2005
Messages
110
Haven't really played around with the turret turning stuff. Might work, guess the best way would be to try it out. If it doesn't work, there is an option to do it manually using triggers:

Code:
call SetUnitLookAt([facing unit], "bone_head", [target unit], [x offset], [y offset], [z offset] )

I am not sure if all bones are "allowed", the GUI presets allow chest and head. You can find it under "Animation - lock body part facing" in the editor.
 
Level 30
Joined
Mar 14, 2014
Messages
1,215
Haven't really played around with the turret turning stuff. Might work, guess the best way would be to try it out. If it doesn't work, there is an option to do it manually using triggers:

Code:
call SetUnitLookAt([facing unit], "bone_head", [target unit], [x offset], [y offset], [z offset] )

I am not sure if all bones are "allowed", the GUI presets allow chest and head. You can find it under "Animation - lock body part facing" in the editor.

Alternatively I guess you can name your turret bone "Bone_Head" and use a trigger for the rotation.

Thank you for your answers. I am gonna try it out when i finish animating the rest.
 
Status
Not open for further replies.
Top