Hello,
I also have a small issue with the setattachment extension:
I do not know how to NOT use the
.angles of father-entity for attached entity.
My goal is to keep their origin identical at all times, but when the father-entity turns, the son shall not (do not use fathers angles) .
The dpextension.qc says clearly:
note: use "" to attach to entity origin/angles instead of a tagSo, if I understood correctly, I
must set a tag-name, otherwise it will use the fathers angles.
But when I declare a tag-name like this, it will also use fathers angles:
setattachment (foo, self, "test");
As far as I understand, if I replace "test" with "", foo will use the angles of self.
But also when I use "test" it will use its angles.
Even when I use in foo´s _think function:
self.angles = '0 0 0'; (as it is always relative to the father)
So, I do not understand what a "tag name" is and how it is used.
I only want to be able to have an attached entity (a simple mdl model) which .angles I can control inside its _think function (independent to fathers angles (also a simple mdl model)).
As a workaround I can only use the unprecise way of adding entities (without setattachment, but with a think function every frame glueing it to the father origin, which is of course stuttering and not fully satisfying...)
Maybe someone can help ?
Thank you in advance.