Skip to content

RayPerceptionSensorComponent3D does not function as expected when the agent's scale is not 1. #3321

Closed
@WanNJ

Description

@WanNJ

All the agents in the example scenes have a scale of 1. However, if changed the scale to other numbers, the Debug gizmo would also scale, resulting in the wrong rays drawn in the editor.

I haven't checked whether the observed values are correct yet. Presumably, it may have the same issue.

  • ML-Agents v0.13.0
  • TensorFlow v2.0
  • Environment_: Change any of the agent's scale to not equal to 1.

To reproduce this bug, just change the scale of the agent of WallJump example and run using the trained model. You will see that the rays drawn in the editor is wrong.

Metadata

Metadata

Assignees

Labels

bugIssue describes a potential bug in ml-agents.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions