数学 ハイパーボリックサインとかをメモる


ひとまずこれ

Local X = (sinh (aaa.x_rotation * 1) / cosh (aaa.x_rotation * 1))*100
eulerAngles x 0 0

Local X = (sinh (aaa.x_rotation * 0.25) / cosh (aaa.x_rotation * 0.25))*50
Local Y = (sinh (aaa.y_rotation * 0.25) / cosh (aaa.y_rotation * 0.25))*50
eulerAngles x y 0

単純にsinh、coshにk、全体にsをかけて、動きの大小を制御
オフセットが決められるといいかも・・・・

 

Local X = (sinh (Xrot * Xintensity) / cosh (Xrot * Xintensity))*Xrange;
Local Y = (sinh (Yrot * Yintensity) / cosh (Yrot * Yintensity))*Yrange;
eulerAngles x y 0

 

Local Zpos = IKLength, limSt = (Limit-Rate)
if Flag.SoftIKSet == true then
(
if limSt < Zpos then
(
Zpos = ((1-exp(-(Zpos-Limit+Rate)/Rate)+limSt/Rate)*Rate)
)
else
(