Skip to content

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

Closed
@hughperkins

Description

@hughperkins

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue describes a potential bug in ml-agents.staleIssues that have been idle for a while. Automatically closed by a bot if idle for too long.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions