|
Post by somnolence2098 on Apr 28, 2023 7:45:42 GMT
Hi, I am currently looking to have animations performed when using recovery items. The tutorial video showed attaching V Generic Animation to the player and then adding it to the animator so that the motion could be performed.
If different items with different resilience have different animations, we thought that attaching multiple V Generic Animations to the player would be a bad idea, as it would result in multiple identical items.
I thought about attaching V Generic Animation to multiple different objects, but I thought it would be complicated in terms of management because it would have to be attached individually. How can I add multiple animations that play when using an item?
|
|
|
Post by Invector on May 5, 2023 13:36:22 GMT
You don't need the generic animation for that, if you're using our Inventory System you can use the "EnableAnim" field in the ItemListData to play an animation when using an item. You can also use the component "UseItemEventTrigger" to trigger something when using the item in the environment
|
|
|
Post by somnolence2098 on May 7, 2023 7:51:47 GMT
When I actually rewrote the EnableAnim part, the animation was successfully performed.
thank you so much!
|
|