C# Class PushBlockAcademy, UnityMLAgent

Inheritance: Academy
Datei anzeigen Open project: tizkzks96/UnityMLAgent Class Usage Examples

Public Properties

Property Type Description
agentRotationSpeed float
agentRunSpeed float
failMaterial Material,
goalScoredMaterial Material,
gravityMultiplier float
spawnAreaMarginMultiplier float

Public Methods

Method Description
State ( ) : void

Method Details

State() public method

public State ( ) : void
return void

Property Details

agentRotationSpeed public_oe property

The agent rotation speed. Every agent will use this setting.
public float agentRotationSpeed
return float

agentRunSpeed public_oe property

The "walking speed" of the agents in the scene.
public float agentRunSpeed
return float

failMaterial public_oe property

When an agent fails, the ground will turn this material for a few seconds.
public Material, failMaterial
return Material,

goalScoredMaterial public_oe property

When a goal is scored the ground will switch to this material for a few seconds.
public Material, goalScoredMaterial
return Material,

gravityMultiplier public_oe property

The gravity multiplier. Use ~3 to make things less floaty
public float gravityMultiplier
return float

spawnAreaMarginMultiplier public_oe property

The spawn area margin multiplier. ex: .9 means 90% of spawn area will be used. .1 margin will be left (so players don't spawn off of the edge). The higher this value, the longer training time required.
public float spawnAreaMarginMultiplier
return float