0 votes
asked in General Help by (140 points)

Hi, I use the TriggerInteraction();

interactionSystem.TriggerInteraction(closestTriggerIndex , false);

But when I tried to get last interaction ik It's a null

ik = InteractObj.lastUsedInteractionSystem.GetComponent<FullBodyBipedIK>();

Any solutions?


1 Answer

0 votes
answered by (16.3k points)

InteractionObject.lasUsedInteractionSystem is null until an interaction is called with the interaction object.

You can access the IK component used by the interaction system simply by ik = interactionSystem.ik.

Welcome to RootMotion Q&A, where you can ask questions and receive answers from the developer of Final IK and PuppetMaster and other members of the community.

Post as a guest, create an account or login via Facebook.

Please use the correct category when you post your questions.