文档

Unity Engine

Unity Engine

JointTranslationLimits2D

Motion limits of a Rigidbody2D object along a SliderJoint2D.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Struct
  • Namespace: UnityEngine
  • Assembly: UnityEngine.Physics2DModule
public struct JointTranslationLimits2D

Remarks

Additional Resources: Rigidbody2D, SliderJoint2D

Properties

Property

Description

maxMaximum distance the Rigidbody2D object can move from the Slider Joint's anchor.
minMinimum distance the Rigidbody2D object can move from the Slider Joint's anchor.