angle
The world angle (in degrees) along which the suspension will move.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.Physics2DModule
public float angle { get; set; }
Remarks
This provides 2D constrained motion similar to a SliderJoint2D. This is typically how suspension works in the real world.
Additional Resources: Rigidbody2D