ドキュメント

Unity Engine

Unity Engine

AngularVelocityToQuaternion(float, float, TransformPlane)

Calculate a Quaternion given a 2D angular velocity and a time to integrate over using the selected transform plane.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public static Quaternion AngularVelocityToQuaternion(float angularVelocity, float deltaTime, PhysicsWorld.TransformPlane transformPlane)

Parameters

angularVelocity

The 2D angular velocity, in radians.

deltaTime

The time over which to apply the angular velocity, in seconds.

transformPlane

The transform plane to use.

Returns

Type

Description

QuaternionThe transformed rotation.