what do you specifically need?
and in which languange are you writing the mod
mshooter
View profile on GTA5Mods.com »
Posts made by mshooter

RE: im making a horse mod any one can help me for scripts?

RE: What is the rotation order of GetEntityBoneRotationLocal?
I know about the float numbers,
but that shouldn't matter really, as I am getting a vector3 from that function where the x,y and z values are float numbers.what I am trying to figure out is, what is this function returning, values in degrees?
Edit [more information]:
I did more tests where I rotate the bone solely around the Yaxis and Zaxis.
No matter which axis it rotates, solely the third value of the Vector3 changes through time and the first two don't. 
RE: What is the rotation order of GetEntityBoneRotationLocal?
So, i did a test, where I animate the peds arm and rotate it from 0 to 90 degrees around the xaxis.
When I use the native _GET_ENTITY_BONE_ROTATION which normally would give the global rotation it doesn't give the numbers I expect which would be 090 degrees for the xaxis and the y and zaxis it would give me 0 as the ped's arm doesn't move around the y or z axis.The numbers I am getting for the xaxis are float numbers between 34 and 35.
Then I am getting 98.something for the yaxis and for the zaxis I am getting floating numbers between 129 and 130.Am I getting something wrong? does anyone know what values this native is returning ? are those values supposed to be in degrees?

RE: What is the rotation order of GetEntityBoneRotationLocal?
@JohnFromGWN
I am using scripthookVdotnet (v3) 
RE: What is the rotation order of GetEntityBoneRotationLocal?
@JohnFromGWN the function is working for me, it returns float numbers supposly in degrees.
I want to change the order because I am currently exporting a motion sequence (.bvh file format) are you familiar with those?
https://www.cs.cityu.edu.hk/~howard/Teaching/CS418551852007SemA/Group12/BVH.htmlOtherwise I am sure I can compute the local rotations based on the bone world rotations, however I am not too sure how to do that either, as the function _GET_ENTITY_BONE_ROTATION is also giving me a vector.

RE: What is the rotation order of GetEntityBoneRotationLocal?
Thank you for answering, I am seeing the values which are angles in degrees
however, how can I test it?am I using it wrongly, I am trying to get the rotation of a child bone with respect to the parent. (hence local rotation)
additionally, I would like to convert the rotation order to ZXY would you know how to do it?

What is the rotation order of GetEntityBoneRotationLocal?
Hi,
I am accessing the local rotation of a bone however I need it to be in the order of ZXY.
Can someone tell me what the rotation order is from the native? _GET_ENTITY_BONE_ROTATION_LOCAL
What does the native function exactly return ?
Thank you!