Jump to content
Balingr

[Request][Bug] attachTo doesn't follow animation (rotation)

Recommended Posts

What is happening:

 

Objects attached to the player do not rotate on position change such as leanLeft leanRight or going prone.

 

How to test this:

 

Use the example here and attach explosives to your player.

_expl1 = "DemoCharge_Remote_Ammo" createVehicle position player;
_expl1 attachTo [player, [-0.1, 0.1, 0.15], "Pelvis"];
_expl1 setVectorDirAndUp [ [0.5, 0.5, 0], [-0.5, 0.5, 0] ];
_expl2 = "DemoCharge_Remote_Ammo" createVehicle position player;
_expl2 attachTo [player, [0, 0.15, 0.15], "Pelvis"];
_expl2 setVectorDirAndUp [ [1, 0, 0], [0, 1, 0] ];
_expl3 = "DemoCharge_Remote_Ammo" createVehicle position player;
_expl3 attachTo [player, [0.1, 0.1, 0.15], "Pelvis"];
_expl3 setVectorDirAndUp [ [0.5, -0.5, 0], [0.5, 0.5, 0] ]; 
Now try to lean left/right and go prone, you'll notice that even thou it is attached to a memory point (which should know  about its rotation?) the rotation doesn't change.

 

 

What I suggest:

 

Add the option to attach objects to the bones so they rotate according to the playing animation

(This has been done in VBS already)

  • Like 1

Share this post


Link to post
Share on other sites

Excellent idea. And by the way, make this command fully workable in MP (I mean when an object is attached to another, all players must have the same result. Today, if a player attaches something on a building door (Stratis military offices), other ones see the object on ground).

Share this post


Link to post
Share on other sites

And while we're at it also adding in an option to attach things to not only the body model but also the face model would be much appreciated...^^

Share this post


Link to post
Share on other sites

I fully support this request. It would make entry wounds possible to do for my Blood Lust addon.

Share this post


Link to post
Share on other sites

Perhaps for Arma IV ?

I succeeded in attach a backpack on ventral during free jump, then under parachute (stance changed), visible for all players , with a bunch of code of vectors on each framed. It's not a simple question of rotation, but also an updated position of the attached backpack in such fall.

Not so easy.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×