Hello, I would like to ask some help.
I'm learning how to use AC, incredible asset.
I followed the tutorials yet I don't manage to implement a simple feature.
I've a object "TV_Room_Left_Door"
it has a Highlight, a Moveable and a Remember Transform scripts.
I created a Hotspot "Tv_Room_Left_Door_Hotspot" with two interactions of "Use" type - (0) is enabled and calls the action "Tv_Room_Left_Door_Hotspot: Open", (1) is disabled and calls the action "Tv_Room_Left_Door_Hotspot: Close".
The "Tv_Room_Left_Door_Hotspot: Open" features 3 Actions:
(0) Object Transform - Moveable: TV_Room_Left_Door - Rotate by Y +120 - After Running: Stop.
(1) Hotspot - Change interaction - Hotspot to change Tv_Room_Left_Door_Hotspot - Interaction to change: 0:Use - Change to make: Disable - After Running: Continue.
(2) Hotspot - Change interaction - Hotspot to change Tv_Room_Left_Door_Hotspot - Interaction to change: 1:Use - Change to make: Enable - After Running: Continue (or stop... I tried both).
The "Tv_Room_Left_Door_Hotspot: Close" features one action:
(0) Object Transform - Moveable: TV_Room_Left_Door - Rotate by Y -120 - After Running: Stop.
Yet, I can open the door, but can't close it
What am I doing wrong?
Thank you for your time and help.
Comments
From the sounds of it, it's because you've set your "After running" field in the first Action to "Stop". This will stop the entire Interaction - not just the Action.
I'd recommend using the node-based Action List Editor window when building your Actions, as it makes it much easier to visualise the flow of Actions than just working in the Inspector. You can open it up by clicking on the icon beside the Interaction in the Hierarchy window.
Also, if your Interation method is set to Context Sensitive (in the Settings Manager), then you don't need to have the Hotspot's second Interaction disabled - only the first-active will be recognised.