浏览代码

Fixing conflicts.

/develop-generalizationTraining-TrainerController
Marwan Mattar 7 年前
当前提交
16a6dcd9
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 3
      docs/Learning-Environment-Create-New.md

3
docs/Learning-Environment-Create-New.md


The RollerAgent applies the values from the action[] array to its Rigidbody component, `rBody`, using the `Rigidbody.AddForce` function:
With the reference to the Rigidbody, the agent can apply the values from the action[] array using the `Rigidbody.AddForce` function:
```csharp
Vector3 controlSignal = Vector3.zero;
controlSignal.x = Mathf.Clamp(action[0], -1, 1);

正在加载...
取消
保存