SetAngularVelocity のバックアップ(No.1)


概要 Edit

Rigidbodyの角速度を指定値に変更する。

パラメータ Edit

Recievers対象のRigidbody
Angular Velocity角速度ベクトル
Use World Spaceオンの場合、ワールド軸を基準とする。
オフの場合、対象のGameObjectの回転を基準とする。

元となるVRC_TriggerのAction名 Edit

SetAngularVelocity

Udon実装概要 Edit

UseWorldSpaceがtrueの場合、Rigidbody.angularVelocityに指定値をセットする。
UseWorldSpaceがfalseの場合、Rigidbody.angularVelocityにRotation×指定値をセットする。