AngularVelocityToQuaternion(float, float, TransformPlane)
Calculate a Quaternion given a 2D angular velocity and a time to integrate over using the selected transform plane.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.LowLevelPhysics2D
- Assembly: UnityEngine.Physics2DModule
public static Quaternion AngularVelocityToQuaternion(float angularVelocity, float deltaTime, PhysicsWorld.TransformPlane transformPlane)
Parameters
The 2D angular velocity, in radians.
The time over which to apply the angular velocity, in seconds.
The transform plane to use.
Returns
Type | Description |
|---|---|
| Quaternion | The transformed rotation. |