your calcangle is okay
arguments:
src = view vector
dst = bone vector
can someone give me the calc angles for bones?
or i dont need to change nothing im doing some thing wrong
heres my calc angles now
Code:void CalcAngle(float *src, float *dst, float *angles) { double delta[3] = { (src[0] - dst[0]), (src[1] - dst[1]), (src[2] - dst[2]) }; double hyp = sqrt(delta[0] * delta[0] + delta[1] * delta[1]); angles[0] = (float)(asinf(delta[2] / hyp) * 57.295779513082f); angles[1] = (float)(atanf(delta[1] / delta[0]) * 57.295779513082f); angles[2] = 0.0f; if (delta[0] >= 0.0) { angles[1] += 180.0f; } }
your calcangle is okay
arguments:
src = view vector
dst = bone vector
. . . malsignature.com . . .
[ global rules ] [ scam report ] [ image title ] [ name change ] [ anime force ]
[ league of legends marketplace rules ] [ battlefield marketplace rules ]
"because everytime you post a picture of anime in here
your virginity's time increases by 1 month"
~Smoke 2/18/2018
Former Staff 09-29-2018
Battlefield Minion 07-21-2018
Premium Seller 03-04-2018
Publicist 12-10-2017
League of Legends Minion 05-31-2017
Premium 02-05-2017
Member 10-13-2013