We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0cb4e7 commit ae70965Copy full SHA for ae70965
Project/Assets/ML-Agents/Examples/WallJump/Scripts/WallJumpAgent.cs
@@ -350,9 +350,7 @@ void ConfigureAgent(int config)
350
}
351
else
352
{
353
- var min = m_ResetParams.GetWithDefault("big_wall_min_height", 8);
354
- var max = m_ResetParams.GetWithDefault("big_wall_max_height", 8);
355
- var height = min + Random.value * (max - min);
+ var height = m_ResetParams.GetWithDefault("big_wall_height", 8);
356
localScale = new Vector3(
357
localScale.x,
358
height,
0 commit comments