Download Project/Assets/ML-Agents/Examples/WallJump/Scripts/WallJumpSettings.cs from ashish2244/ppo-SnowballTarget: direct link, hf CLI and curl.
- Browser
- Download file 536 Bytes
-
https://huggingface.co/ashish2244/ppo-SnowballTarget/resolve/main/Project/Assets/ML-Agents/Examples/WallJump/Scripts/WallJumpSettings.cs
- Command line
-
hf download hf://ashish2244/ppo-SnowballTarget/Project/Assets/ML-Agents/Examples/WallJump/Scripts/WallJumpSettings.cs
-
curl -L -o WallJumpSettings.cs https://huggingface.co/ashish2244/ppo-SnowballTarget/resolve/main/Project/Assets/ML-Agents/Examples/WallJump/Scripts/WallJumpSettings.cs
536 Bytes
| using UnityEngine; | |
| public class WallJumpSettings : MonoBehaviour | |
| { | |
| [] | |
| public float agentRunSpeed; | |
| public float agentJumpHeight; | |
| //when a goal is scored the ground will use this material for a few seconds. | |
| public Material goalScoredMaterial; | |
| //when fail, the ground will use this material for a few seconds. | |
| public Material failMaterial; | |
| [] | |
| public float agentJumpVelocity = 777; | |
| [] | |
| public float agentJumpVelocityMaxChange = 10; | |
| } | |