Version: 2017.3 (switch to 2017.4)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

JointAngularLimitHandle.yMax

public float yMax;

Description

Returns or specifies the maximum angular motion about the y-axis.

The value returned by this property depends on the current value of the yMotion property. If it is ConfigurableJointMotion.Locked, then it will always return 0. If it is ConfigurableJointMotion.Free, then it will always return the upper limit of yRange. If it is ConfigurableJointMotion.Limited, then it will be clamped between the upper limit of yRange and the current value of yMin.

See Also: yMin, yMotion, yRange.

Did you find this page useful? Please give it a rating: