HolographicWings / LethalSDK-Unity-Project

Unity Project using Lethal Company SDK
MIT License
43 stars 5 forks source link

Two Handed Animation #50

Open fredagmys4 opened 9 months ago

fredagmys4 commented 9 months ago

I think I've found the reason why this setting doesn't work. I tried a bunch of stuff in the item properties in the Unity Explorer mod and it seems that Item.grabAnim has to be set to "HoldLung" for it to work. When I apply it to one of my items the hand positions are the same as on vanilla items, such as large axle and v-type engine. Hopefully this is the issue and can be fixed easily Skärmbild 2024-01-09 000738

HolographicWings commented 9 months ago

I think I've found the reason why this setting doesn't work. I tried a bunch of stuff in the item properties in the Unity Explorer mod and it seems that Item.grabAnim has to be set to "HoldLung" for it to work. When I apply it to one of my items the hand positions are the same as on vanilla items, such as large axle and v-type engine. Hopefully this is the issue and can be fixed easily Skärmbild 2024-01-09 000738

Oooh neat ! Thanks you for finding this I'll fix it today

fredagmys4 commented 8 months ago

I think I've found the reason why this setting doesn't work. I tried a bunch of stuff in the item properties in the Unity Explorer mod and it seems that Item.grabAnim has to be set to "HoldLung" for it to work. When I apply it to one of my items the hand positions are the same as on vanilla items, such as large axle and v-type engine. Hopefully this is the issue and can be fixed easily Skärmbild 2024-01-09 000738

Oooh neat ! Thanks you for finding this I'll fix it today

It still doesn't work. First of all, Item.grabAnim doesn't get set to HoldLung. I believe that it is this setting that should set the animation: Skärmbild 2024-01-09 190747

But that doesn't seem to do anything.

And I also think that the Two Handed Animation bool has to be there as well since it has to be set to true in-game for it to work Skärmbild 2024-01-09 191901

Hope this fixes it!

HolographicWings commented 8 months ago

@fredagmys4 It's supposed to set the proper anim string and the boolean When I try on my side it works Oo Are you sure you saved the changes as well

fredagmys4 commented 8 months ago

@fredagmys4 It's supposed to set the proper anim string and the boolean When I try on my side it works Oo Are you sure you saved the changes as well

Hmm it still doesn't work... Are these the correct settings or maybe I am missing something? Skärmbild 2024-01-12 185056

HolographicWings commented 8 months ago

@fredagmys4 It's supposed to set the proper anim string and the boolean When I try on my side it works Oo Are you sure you saved the changes as well

Hmm it still doesn't work... Are these the correct settings or maybe I am missing something? Skärmbild 2024-01-12 185056

do you use the last version of LE ? (1.3.18)

fredagmys4 commented 8 months ago

do you use the last version of LE ? (1.3.18) No, totally forgot that was needed. It works now after updating it. Sorry to bother lmao😘