3 namespace droid.Runtime.Prototyping.Evaluation {
7 [AddComponentMenu(EvaluationComponentMenuPath._ComponentMenuPath
9 + EvaluationComponentMenuPath._Postfix)]
11 [SerializeField]
bool _penalty =
false;
12 [SerializeField] Rigidbody _rigidbody = null;
19 if (this._rigidbody) {
20 return -this._rigidbody.angularVelocity.magnitude;
24 if (this._rigidbody) {
25 return 1 / (this._rigidbody.angularVelocity.magnitude + 1);
39 if (this._rigidbody == null) {
40 this._rigidbody = FindObjectOfType<Rigidbody>();
override float InternalEvaluate()
override void PostSetup()
override void InternalReset()