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.