Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agent: LookAt (and stop walking) API to be called from dialogues system #475

Open
Demigiant opened this issue Apr 12, 2024 · 1 comment
Open
Assignees
Milestone

Comments

@Demigiant
Copy link
Collaborator

Demigiant commented Apr 12, 2024

Ideally a dynamic agent method like this to call from the dialogue system when a dialogue starts, with an optional boolean to also tell it to stop walking:
agentInstance.LookAt(Transform target, bool stopWalking = true);
And when the dialogue ends a method like this:
agentInstance.StopLookAt();
which stops the forced lookAt and resumes eventual walking

@Demigiant Demigiant self-assigned this Apr 12, 2024
@Demigiant Demigiant converted this from a draft issue Apr 12, 2024
@Demigiant Demigiant added this to the 3.0 milestone Apr 12, 2024
@Demigiant Demigiant assigned CatmanIta and unassigned Demigiant Apr 12, 2024
@Demigiant Demigiant changed the title Agent controller: API to stop walking and look at the given target (needed by dialogues so agent can look at Antura and eventually stop going around) Agent: LookAt (and stop walking) API to be called from dialogues system Apr 12, 2024
@CatmanIta
Copy link
Member

Done, you can find them on EdAgent.cs.
For now I'd always call stopWalking or they would keep moving while you are stuck there!

@CatmanIta CatmanIta moved this from Todo to Done in @Antura project Apr 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants