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

Model bone to istant unit facing

Status
Not open for further replies.
Level 9
Joined
Sep 20, 2015
Messages
385
Hello, i got this idea to make unit face a point istantly. I read somewhere here that this function

JASS:
native  SetUnitLookAt  takes unit whichUnit, string whichBone, unit lookAtTarget, real offsetX, real offsetY, real offsetZ returns nothing


can make a unit turn istantly, whatever the movespeed and the facing time is.

My idea was to create a bone that is parented with all parts of the model, so when you use that function you use the new bone and the unit changes facing.

Is this possible to do?
 
Status
Not open for further replies.
Top