Set state with runtime pickup item for preset IK

Hi,

I followed the video for runtime pickup item. I have the weird arm movement that is fixed with a prest IK for Sword. This is set in state in set item manager in previous video when the Sword is already there. But when the Sword is spawned at runtime the state is empty. I cannot figure out how to set the state of my item to have it set at runtime and applied the preset IK ?

Thanks for your help.
 
Hi, just to make sure I understand your question - are you instantiating new ItemPickup objects during run-time and are trying to figure out how to access/modify its properties after spawning it? If so, how are you instantiating them? (From a prefab?)
 
Well I realized that it must be defined in the RuntimeSwordPickup.

With your question you put me in the good way ;)

Thank you for your support
 
Last edited:
Top