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

DungeonEscape: rotate multplier 200f should be m_PushBlockSettings.agentRotationSpeed I feel? #5850

Closed
hughperkins opened this issue Dec 22, 2022 · 2 comments · May be fixed by #5851
Closed
Labels
bug Issue describes a potential bug in ml-agents. stale Issues that have been idle for a while. Automatically closed by a bot if idle for too long.

Comments

@hughperkins
Copy link

Describe the bug

In DungeonEscape, push settings has attribute agentRotationSpeed available,

However in PushAgentEscape.cs, it uses hardcoded value 200f instead.

transform.Rotate(rotateDir, Time.fixedDeltaTime * 200f);

I feel agentRotationSpeed should default to 200f, instead of 15, and the 200f should be replaced by m_PushBlockSettings.agentRotationSpeed?

To Reproduce
Go to github link

transform.Rotate(rotateDir, Time.fixedDeltaTime * 200f);
. See the hardcoded constant.

Console logs / stack traces
N/A

Screenshots

transform.Rotate(rotateDir, Time.fixedDeltaTime * 200f);

Environment (please complete the following information):
develop branch, and at least as far back as release_20

@hughperkins hughperkins added the bug Issue describes a potential bug in ml-agents. label Dec 22, 2022
@stale
Copy link

stale bot commented Jun 18, 2023

This issue has been automatically marked as stale because it has not had activity in the last 90 days. It will be closed in the next 30 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Issues that have been idle for a while. Automatically closed by a bot if idle for too long. label Jun 18, 2023
@hughperkins
Copy link
Author

this isnt completed. the value is still set to 200f, see

transform.Rotate(rotateDir, Time.fixedDeltaTime * 200f);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue describes a potential bug in ml-agents. stale Issues that have been idle for a while. Automatically closed by a bot if idle for too long.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants