Hello,
In my game I have a "drawer" object with "use" and "look at" interactions.
I created a three variables for proper behavoiur:
DrawerOpened: A boolean variable determines If the drawer is opened or not.
DrawerOpenTimes / LookAtDrawer: An integer variables that allows me to give different answers.
These are the schemes from actionlist node editor that I have.
il-logik.com/thekhampruebas/Interaction_Look_At.png
il-logik.com/thekhampruebas/Interaction_Use.png
This is correct? Or I should recover, somehow, the value of the variable at this time?
In the same process, when the opening drawer animation occurs it gets stuck, as if trembling.
I attached a link where you can check this issue.
Thanks!
pd. I'm working on the textures, for those pink and gray objects do not worry xD. In addition I have a problem with camera triggers, that in another post...
Comments
Your drawer opening animation problem would depend on the Physics settings you've set up within Unity. Does it have a Rigidbody, or Collider that's not set to "Is Trigger?"? Try checking that last option and see if that improves things.
I tried again, now directly on the drawer and got the same result.
I ask in the official forum of Unity as this is not a battle with AC.
Chris thank you very much! I'm really enjoying thanks to the ease of working with AC.
Pd:
I solved the problem I had with the trigged cameras, it was just a matter of the order in which they where.
I solved part of problem with parent hotspot to object, but still had the same problem with the animation.
Then I returned to the animation and after changing some settings in the inspector has worked!
Thanks so much!