#i have a box trigger and i want it to
1 messages · Page 1 of 1 (latest)
https://chat.openai.com/share/13f22cdc-6ae4-46b8-b9a2-bc75c07d2626
this might help a lot on your unity programming journey
Directing someone into an empty elevator shaft will certainly give them a short journey, if not a very satisfying one.
@zenith steeple this example should be pretty easily adaptable. You can use Animator.Play() to trigger a specific state, or set a bool variable if you also want the door to close when exiting the area. https://docs.unity3d.com/ScriptReference/MonoBehaviour.OnTriggerStay.html
You don't need additional code to transition to the idle state; you can just have a transition from the opening state to idle with a transition time set.
this is a different situation. it is kind of possible to do natural language into code. like why not try?
Well, for one thing because it was the wrong fucking answer.
For another because teaching someone to have an LLM write their code for them won't actually teach them anything.
i don't see anything wrong with the answer given the question
it would make more sense to use the animation state machine better
but it's so far away from this user's journey
Alrighty we good