currentSpeed
The speed body B is currently turning relative to body A around the hinge, in degrees per second. A positive value turns body B counter-clockwise relative to body A and a negative value turns it clockwise. It is measured from the bodies themselves, so it includes motion from every source rather than only the motor.
読み終わるまでの所要時間 1 分最終更新 2日前
Definition
- Type: Property
- Namespace: Unity.U2D.Physics
- Assembly: UnityEngine.PhysicsCore2DModule
public float currentSpeed { get; }