Last active
June 5, 2017 08:40
-
-
Save inoook/619592dd9f63963d5c923c19ece3cafc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://www.dropbox.com/s/em7iqkax0771qb0/Unity%E9%81%93%E5%A0%B4%E3%82%B9%E3%83%9A%E3%82%B7%E3%83%A3%E3%83%AB%E5%8D%9A%E5%A4%9A-yasuhara.pdf?dl=0 | |
差分 = 目標の値 x 現在の値^-1 | |
Quaternion delta = target_rot * Quaternion.Inverse(current_rot); | |
-- | |
this.transform.rotation = originalRotation * addRotation; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment