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

Change AgentRotationTask for target and coordinates #27

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

lenalinke
Copy link
Contributor

Added: /
Changed:

  • AgentRotationTask for rotating towards coordinates and GameObjects to use the angle between these and the agent

lenalinke and others added 4 commits January 14, 2025 00:51
…e angle between the agent and the position to turn towards
Also adjusted speed so that higher values lead to faster animations and adjusted the rotation to game objects, so that game object positon is evaluated when the task is started instead of when the task is scheduled
The optional AngleThreshold allows to skip more small movements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants