Rotate Object by Tag?
Buddywarrior
Member Posts: 62
I've been using SetFacing() to rotate objects using the OnUsed on the usable Object. But is there way to rotate an object from a distance without actually clicking it? Perhaps by Tag?
0
Comments
There is a subtle difference - SetObjectVisualTransform only changes the visual appearance, whereas SetFacing rotates the entire model, including Use nodes etc.
I cant figure out the SetFacing() Proleric, do you know how? I'm reading it as "void SetFacing(float fDirection)" so it can't be assigned to another object and only OBJECT_SELF. I would rathe be wrong.
For example if I want to rotate oTarget.
This makes oTarget the object of the SetFacing() function.