2 registered members (OptimusPrime, AndrewAMD),
14,580
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Attaching large clothing items.
[Re: Pappenheimer]
#285746
08/19/09 20:37
08/19/09 20:37
|
Joined: Jan 2009
Posts: 20
Tuah
OP
Newbie
|
OP
Newbie
Joined: Jan 2009
Posts: 20
|
Hmmm... I'll look around and see if I can find some functions that can do it! EDIT: Observing David Lancaster's tutorial with an attached weapon, I'll have to reposition the bones to the character's bones each time. So I'll need to replace the vector things with bone-related things... This might not turn out to be as difficult as I thought. But I'm still a noob, so it might not work. xD
ACTION attach_weapon {
my.passable = on;
proc_late();
WHILE (you != null) {
vec_for_vertex(temp.x,you,1175); //hand palm base
vec_for_vertex(temp2.x,you,1240); //hand palm tip
vec_set(my.x,temp.x);
vec_diff(temp.x,temp2.x,temp.x);
vec_to_angle(temp.pan,temp.x);
vec_set(my.pan,temp.pan);
wait(1);
Last edited by Tuah; 08/19/09 22:06.
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|